]> git.ipfire.org Git - thirdparty/unbound.git/commit
Fix: buffer overflow bug 532/head
authorShchelkunov Artem <a.shchelkunov@ideco.ru>
Fri, 20 Aug 2021 14:45:54 +0000 (19:45 +0500)
committerShchelkunov Artem <a.shchelkunov@ideco.ru>
Fri, 20 Aug 2021 14:46:01 +0000 (19:46 +0500)
commit0b362e3a4d3061ee1acdcaf3aa32f4c6f74dcbbe
tree23119fe43f488482851604b0b0db61f5bf640f02
parent2315fc9d9b09ab8ac4b75e69d3e6fc8ab3bc919d
Fix: buffer overflow bug

Found by static analyzer svace
Static analyzer message: Array 'token' of size 65536 bytes passed to
function 'rrinternal_parse_rdata' at str2wire.c:679 by passing as 2nd
parameter to function 'rrinternal_parse_rdata' at str2wire.c:775, where
it is accessed by unacceptable index. This may lead to buffer overflow.

on-behalf-of: @ideco-team <github@ideco.ru>
sldns/str2wire.c