diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-11 10:17:31 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-11 10:17:31 -0500 |
| commit | ae82bb756b6d6c49b8e8f371b6b7b4f1ad1c8aad (patch) | |
| tree | d3992ac78be66bbe856f685983d429ef40f07d85 /zebra/zebra_errors.h | |
| parent | a5f271c6352a278856c8aa453d78c1dd65ca2638 (diff) | |
ospfd: Function order caused use after free.
The opaque lsa that we are storing is stored on various
lists depending on it's type. This removal from the
list was being done *after* the pointer was freed. This
is not a good idea. Since the use after free was just
removal from a linked list and the freeing function does
not do anything other than free data, than just switching the function
order should be sufficient.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_errors.h')
0 files changed, 0 insertions, 0 deletions
