Commit 47aaf3b
authored
[dash] fix DASH ACL Rule protocol use-after-free (sonic-net#2958)
[dash] Updated the code to avoid using the vector (protocols) that goes out of scope before its data is used1 parent 56ac8b9 commit 47aaf3b
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
391 | 386 | | |
392 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
393 | 391 | | |
394 | 392 | | |
395 | 393 | | |
| |||
0 commit comments