qemu/slirp
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
..
arp_table.c slirp/arp_table.c: Avoid shifting into sign bit of signed integers 2013-09-01 19:09:09 +04:00
bootp.c slirp: Add domain-search option to slirp's DHCP server 2012-11-15 10:27:14 +01:00
bootp.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
cksum.c slirp: Fix compiler warning for w64 2012-03-13 16:15:19 +01:00
COPYRIGHT
debug.h
dnssearch.c slirp: Add domain-search option to slirp's DHCP server 2012-11-15 10:27:14 +01:00
if.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
if.h slirp: Clean up ifs_init 2012-02-27 14:54:49 +01:00
ip_icmp.c Fix comments (adress -> address, layed -> laid, wierd -> weird) 2012-12-07 12:34:11 +01:00
ip_icmp.h slirp: Fix spelling in comment (enought -> enough, insure -> ensure) 2012-10-05 14:24:37 +02:00
ip_input.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
ip_output.c slirp: Replace m_freem with m_free 2011-07-23 10:19:49 -05:00
ip.h slirp: Avoid statements without effect on Big Endian host 2012-05-28 22:31:07 +02:00
libslirp.h slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
main.h slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
Makefile.objs slirp: Add domain-search option to slirp's DHCP server 2012-11-15 10:27:14 +01:00
mbuf.c slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
mbuf.h slirp: remove mbuf(m_hdr,m_dat) indirection 2013-07-19 12:52:03 +04:00
misc.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
misc.h slirp: cleanup leftovers from misc.h 2013-06-01 14:25:39 +04:00
sbuf.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
sbuf.h
slirp_config.h slirp: Remove unused code for bad sprintf 2010-11-21 09:16:57 -06:00
slirp.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
slirp.h slirp: remove unused field tt 2013-01-12 12:26:16 +00:00
socket.c slirp: Port redirection option behave differently on Linux and Windows 2013-09-01 18:52:30 +04:00
socket.h slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
tcp_input.c make user networking hostfwd work with restrict=y 2013-06-19 12:44:38 +02:00
tcp_output.c slirp: Avoid redefining MAX_TCPOPTLEN 2012-05-28 22:44:27 +02:00
tcp_subr.c slirp: remove mbuf(m_hdr,m_dat) indirection 2013-07-19 12:52:03 +04:00
tcp_timer.c
tcp_timer.h
tcp_var.h slirp: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types 2010-07-25 16:59:41 +02:00
tcp.h slirp: Untangle TCPOLEN_* from TCPOPT_* 2012-05-28 13:45:33 +02:00
tcpip.h
tftp.c slirp: Implement TFTP Blocksize option 2012-09-14 00:26:55 +02:00
tftp.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
udp.c MinGW: Replace setsockopt by qemu_setsocketopt 2013-03-22 13:14:48 +01:00
udp.h slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00