Michał Kępień
6ddbca6f2b
isc_buffer_*(): if source can be NULL, only call memmove() when length is non-zero
...
Certain isc_buffer_*() functions might call memmove() with the second
argument (source) set to NULL and the third argument (length) set to 0.
While harmless, it triggers an ubsan warning:
runtime error: null pointer passed as argument 2, which is declared to never be null
Modify all memmove() call sites in lib/isc/include/isc/buffer.h and
lib/isc/buffer.c which may potentially use NULL as the second argument
(source) so that memmove() is only called if the third argument (length)
is non-zero.
2018-05-15 09:11:34 +02:00
..
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-15 09:11:34 +02:00
2018-05-11 13:17:46 +02:00
2018-05-13 19:18:56 -07:00
2018-05-11 13:17:46 +02:00
2018-05-13 19:18:56 -07:00
2018-05-11 13:17:46 +02:00
2018-05-13 19:18:56 -07:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-13 19:18:56 -07:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2014-06-17 13:49:30 -07:00
2018-05-11 13:17:46 +02:00
2018-01-24 10:22:59 -08:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2011-07-06 05:05:52 +00:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-05-15 09:11:34 +02:00
2018-05-11 13:17:46 +02:00
2014-06-10 12:38:32 +10:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-04-04 23:12:14 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-02-23 10:12:02 +01:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2017-12-29 01:44:18 +00:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-02-23 13:57:10 +01:00
2018-05-11 13:17:46 +02:00
2018-05-11 11:17:14 +10:00
2018-05-11 13:17:46 +02:00
2018-05-15 09:11:34 +02:00
2018-04-12 10:37:33 +02:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-04-12 10:37:33 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00