Nicholas J. Kain
9f87bd8b30
udp_checksum(): Clamp the value of the UDP packet header length.
...
Without this change, it is possible for malicious UDP packets to
make the function read past the end of a buffer.
If this was ever a possibility in ndhc, the previous commit fixed
that issue, but there is no reason for udp_checksum() to have
such a subtle precondition to proper use. This change also makes
it easier to audit correctness.
2015-01-06 07:07:08 -05:00
..
2014-05-10 21:13:24 -04:00
2014-04-14 15:06:31 -04:00
2014-04-14 15:06:31 -04:00
2014-04-21 12:04:13 -04:00
2014-04-14 15:06:31 -04:00
2015-01-06 07:07:08 -05:00
2014-04-16 01:00:36 -04:00
2014-04-06 16:57:06 -04:00
2014-04-06 16:57:06 -04:00
2014-04-15 18:01:01 -04:00
2014-04-06 16:57:06 -04:00
2014-04-06 16:57:06 -04:00
2014-04-06 16:57:06 -04:00
2014-04-15 23:19:24 -04:00
2014-04-06 16:57:06 -04:00
2014-08-19 11:09:59 -04:00
2014-04-06 16:57:06 -04:00
2014-04-06 16:57:06 -04:00
2014-04-06 16:57:06 -04:00
2014-04-06 16:57:06 -04:00
2014-04-14 15:52:39 -04:00
2014-04-16 01:00:36 -04:00
2014-04-16 01:00:36 -04:00
2014-04-06 16:57:06 -04:00
2014-04-06 16:57:06 -04:00
2014-08-19 11:09:59 -04:00
2014-06-13 22:35:57 -04:00
2014-05-10 21:38:45 -04:00
2014-04-06 16:57:06 -04:00
2014-04-15 14:57:07 -04:00
2014-04-06 16:57:06 -04:00
2014-08-19 11:09:59 -04:00
2014-04-06 16:57:06 -04:00
2014-04-16 01:00:36 -04:00
2014-04-06 16:57:06 -04:00
2014-04-15 20:55:13 -04:00
2014-04-15 20:55:13 -04:00