Rich Felker
81fb75a1d7
fix undefined pointer arithmetic in CMSG_NXTHDR macro
...
previously, the only way the stopping condition could be met with
correct lengths in the headers invoked undefined behavior, adding
sizeof(struct cmsghdr) beyond the end of the cmsg buffer.
instead, compute and compare sizes rather than pointers.
2016-05-22 18:49:59 -04:00
..
2012-09-08 20:22:08 -04:00
2014-04-07 02:46:15 -04:00
2012-11-04 17:06:31 -05:00
2013-07-27 17:11:34 -04:00
2016-03-19 11:31:19 -04:00
2013-07-27 17:11:34 -04:00
2012-11-26 13:00:58 -05:00
2014-01-02 22:10:45 +01:00
2013-07-27 17:11:34 -04:00
2012-05-22 22:04:55 -04:00
2012-06-15 21:52:53 -04:00
2014-01-07 02:41:27 -05:00
2012-11-18 19:58:15 -05:00
2011-02-12 00:22:29 -05:00
2012-12-10 21:36:12 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2016-03-19 11:31:24 -04:00
2016-01-24 19:18:41 -05:00
2013-08-14 02:48:11 -04:00
2013-11-24 00:34:07 +00:00
2012-05-10 12:10:44 -04:00
2013-08-08 20:57:35 +02:00
2013-07-27 17:11:34 -04:00
2016-01-26 18:30:14 -05:00
2014-03-08 00:50:19 -05:00
2016-01-26 18:31:17 -05:00
2013-12-20 11:52:10 -05:00
2013-01-12 19:42:39 +01:00
2011-09-19 11:56:09 -04:00
2015-05-28 15:37:23 -04:00
2013-07-06 01:12:28 -04:00
2014-03-11 15:27:13 -04:00
2012-09-07 23:13:55 -04:00
2014-02-23 11:07:18 +01:00
2013-07-27 17:11:34 -04:00
2013-12-29 21:55:21 -05:00
2016-05-22 18:49:59 -04:00
2011-02-12 00:22:29 -05:00
2014-09-05 16:03:07 -04:00
2013-07-22 11:22:36 -04:00
2012-09-07 23:13:55 -04:00
2011-02-12 00:22:29 -05:00
2013-01-12 19:42:39 +01:00
2012-12-10 16:40:45 -05:00
2012-06-07 23:06:04 -04:00
2011-04-05 12:13:54 -04:00
2013-06-29 13:57:13 -04:00
2013-07-27 17:11:34 -04:00
2014-02-05 16:34:23 -05:00
2013-10-25 14:15:08 -04:00
2015-03-04 14:38:08 -05:00
2011-11-10 20:40:06 -05:00
2013-04-01 16:24:12 +00:00
2013-07-03 18:07:51 +02:00
2014-09-05 16:03:07 -04:00
2011-02-12 00:22:29 -05:00
2013-07-19 19:57:52 -04:00
2013-08-21 21:46:57 -04:00
2011-09-23 14:24:57 -04:00
2012-09-07 23:13:55 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2014-02-11 10:51:16 +01:00
2012-08-15 08:31:44 -04:00