- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit9af2b34
committed
radixtree: Fix crash when non-creator begins iteration over shared tree.
Previously, if a backend that attached to a shared tree attempted tostart iteration, it resulted in a crash. This commit resolves theissue by ensuring iter_context is created in RT_ATTACH().This fix applies only to v17, where radixtree.h was introduced. In themaster branch, this issue was separately resolved by960013f, whicheliminated the iter_context entirely.Reviewed-by: John NaylorDiscussion:https://postgr.es/m/CAD21AoBB2U47V=F+wQRB1bERov_of5=BOZGaybjaV8FLQyqG3Q@mail.gmail.com1 parent32770ea commit9af2b34
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1902 | 1902 |
| |
1903 | 1903 |
| |
1904 | 1904 |
| |
| 1905 | + | |
1905 | 1906 |
| |
1906 | 1907 |
| |
1907 | 1908 |
| |
| |||
1910 | 1911 |
| |
1911 | 1912 |
| |
1912 | 1913 |
| |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
1913 | 1922 |
| |
1914 | 1923 |
| |
1915 | 1924 |
| |
1916 | 1925 |
| |
1917 | 1926 |
| |
1918 | 1927 |
| |
1919 | 1928 |
| |
| 1929 | + | |
1920 | 1930 |
| |
1921 | 1931 |
| |
1922 | 1932 |
| |
|
0 commit comments
Comments
(0)