summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-11-11 10:17:31 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-11-11 10:17:31 -0500
commitae82bb756b6d6c49b8e8f371b6b7b4f1ad1c8aad (patch)
treed3992ac78be66bbe856f685983d429ef40f07d85 /lib/command.c
parenta5f271c6352a278856c8aa453d78c1dd65ca2638 (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 'lib/command.c')
0 files changed, 0 insertions, 0 deletions