Commit 97ac01c
authored
context BUGFIX store pointers to leafref link records (#2379)
This patch fixes segfaults caused by invalid memory read during leafref
links removal process. It is tight hash_table implementation, as
hash_table removal of record can invalidate all other record pointers
due to memory reallocation process1 parent eb41edf commit 97ac01c
3 files changed
+28
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
| 291 | + | |
291 | 292 | | |
292 | 293 | | |
293 | 294 | | |
| |||
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
319 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
320 | 326 | | |
321 | 327 | | |
322 | 328 | | |
| |||
654 | 660 | | |
655 | 661 | | |
656 | 662 | | |
657 | | - | |
| 663 | + | |
658 | 664 | | |
659 | 665 | | |
660 | 666 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3626 | 3626 | | |
3627 | 3627 | | |
3628 | 3628 | | |
| 3629 | + | |
3629 | 3630 | | |
3630 | 3631 | | |
| 3632 | + | |
| 3633 | + | |
3631 | 3634 | | |
3632 | 3635 | | |
3633 | 3636 | | |
| |||
3642 | 3645 | | |
3643 | 3646 | | |
3644 | 3647 | | |
3645 | | - | |
| 3648 | + | |
3646 | 3649 | | |
3647 | | - | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
3648 | 3655 | | |
3649 | 3656 | | |
3650 | 3657 | | |
3651 | 3658 | | |
3652 | 3659 | | |
3653 | | - | |
| 3660 | + | |
| 3661 | + | |
| 3662 | + | |
| 3663 | + | |
| 3664 | + | |
3654 | 3665 | | |
3655 | 3666 | | |
3656 | 3667 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
0 commit comments