]> git.ipfire.org Git - thirdparty/unbound.git/commit
Fix: passed to proc after free 531/head
authorShchelkunov Artem <a.shchelkunov@ideco.ru>
Fri, 20 Aug 2021 13:06:12 +0000 (18:06 +0500)
committerShchelkunov Artem <a.shchelkunov@ideco.ru>
Fri, 20 Aug 2021 13:06:51 +0000 (18:06 +0500)
commitba7598f5591465e4d73dccfc5f20cb16e04c4360
tree367a97574a2a03e0b3318b836551cae0866946e7
parent54b7554b5a6a9c482389c535e464c41a8ccd6b9d
Fix: passed to proc after free

Found by static analyzer svace
Static analyzer message: Pointer 'dp' is passed to a function at
iter_hints.c:401 after the referenced memory was deallocated at
iter_hints.c:174 by passing as 3rd parameter to function 'hints_insert'
at iter_hints.c:398.

on-behalf-of: @ideco-team <github@ideco.ru>
iterator/iter_hints.c