]> git.ipfire.org Git - thirdparty/unbound.git/commit
Fix: log_assert does nothing if UNBOUND_DEBUG is undefined 529/head
authorShchelkunov Artem <a.shchelkunov@ideco.ru>
Fri, 20 Aug 2021 12:12:43 +0000 (17:12 +0500)
committerShchelkunov Artem <a.shchelkunov@ideco.ru>
Fri, 20 Aug 2021 12:16:39 +0000 (17:16 +0500)
commit4ea9651624f85b005f7942bc069e60e391c93e2f
tree8c0aa4bd910df81927caec9d8dbde69e90292c8c
parent51f5b3ab44cb84815384e633a7a966c39050b65d
Fix: log_assert does nothing if UNBOUND_DEBUG is undefined

Found by static analyzer svace
Static analyzer message: Integer value 'len' obtained from untrusted
source at tube.c:374 by passing as 2nd parameter to function 'read'
at tube.c:340 without checking its higher bound is used as a loop bound
at tube.c:374.

on-behalf-of: @ideco-team <github@ideco.ru>
util/tube.c