Peter Maydell
ed6bc28e8a
slirp/arp_table.c: Avoid shifting into sign bit of signed integers
...
"0xf << 28" shifts right into the sign bit, since 0xf is a signed
integer. Use the 'U' suffix to force an unsigned shift to avoid
this undefined behaviour and a clang sanitizer warning.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2013-09-01 19:09:09 +04:00
..
2013-09-01 19:09:09 +04:00
2012-11-15 10:27:14 +01:00
2012-12-19 08:31:31 +01:00
2012-03-13 16:15:19 +01:00
2009-01-26 19:37:41 +00:00
2009-06-29 08:52:46 -05:00
2012-11-15 10:27:14 +01:00
2013-08-22 19:14:24 +02:00
2012-02-27 14:54:49 +01:00
2012-12-07 12:34:11 +01:00
2012-10-05 14:24:37 +02:00
2012-12-19 08:32:39 +01:00
2011-07-23 10:19:49 -05:00
2012-05-28 22:31:07 +02:00
2013-02-21 16:17:31 -06:00
2013-02-21 16:17:31 -06:00
2012-11-15 10:27:14 +01:00
2012-03-13 14:05:49 +01:00
2013-07-19 12:52:03 +04:00
2013-08-22 19:10:27 +02:00
2013-06-01 14:25:39 +04:00
2012-12-19 08:32:39 +01:00
2009-07-01 19:11:17 +00:00
2010-11-21 09:16:57 -06:00
2013-08-22 19:14:24 +02:00
2013-01-12 12:26:16 +00:00
2013-09-01 18:52:30 +04:00
2013-02-21 16:17:31 -06:00
2013-06-19 12:44:38 +02:00
2012-05-28 22:44:27 +02:00
2013-07-19 12:52:03 +04:00
2009-08-01 10:13:20 +00:00
2009-07-01 19:11:17 +00:00
2010-07-25 16:59:41 +02:00
2012-05-28 13:45:33 +02:00
2009-01-26 19:37:41 +00:00
2012-09-14 00:26:55 +02:00
2012-12-19 08:31:31 +01:00
2013-03-22 13:14:48 +01:00
2012-03-13 14:05:49 +01:00