Simon Kelley 5d07d77e75 Fix buffer overflow introduced in 2.73rc6.
Fix off-by-one in code which checks for over-long domain names
in received DNS packets. This enables buffer overflow attacks
which can certainly crash dnsmasq and may allow for arbitrary
code execution. The problem was introduced in commit b8f16556d,
release 2.73rc6, so has not escaped into any stable release.
Note that the off-by-one was in the label length determination,
so the buffer can be overflowed by as many bytes as there are
labels in the name - ie, many.

Thanks to Ron Bowes, who used lcmatuf's afl-fuzz tool to find
the problem.
2015-05-15 18:13:06 +01:00
2014-08-12 18:30:44 +01:00
2015-05-13 12:16:13 +01:00
2012-04-02 20:40:34 +01:00
2015-03-30 07:52:21 +01:00
2012-01-05 17:31:15 +00:00
2012-01-05 17:31:10 +00:00
2012-01-05 17:31:13 +00:00
2013-04-15 14:31:52 +01:00
2015-02-01 00:15:16 +00:00
2012-01-05 17:31:15 +00:00
2012-01-05 22:00:08 +00:00
Description
No description provided
17 MiB
Languages
C 94.2%
Perl 2.3%
HTML 1.2%
Shell 1.1%
Makefile 0.6%
Other 0.6%