]> The Tcpdump Group git mirrors - tcpdump/commit
Compile with -Wcast-qual.
authorGuy Harris <[email protected]>
Mon, 27 Apr 2015 01:50:49 +0000 (18:50 -0700)
committerGuy Harris <[email protected]>
Mon, 27 Apr 2015 01:50:49 +0000 (18:50 -0700)
commita1fa7a0114659803bf12252b929621c9e5ad6df1
treee352435ccc19fcbd211e9cf770ddf461fd935bbd
parentdccbbf9a09fe917311400196b9a3542831b12598
Compile with -Wcast-qual.

That let me find what might have been the bulk of the 579(!) instances
of "Deconst" reported in

    http://www.cl.cam.ac.uk/~dc552/papers/asplos15-memory-safe-c.pdf

and, hopefully, will prevent more from creeping in.

There are some remaining ones - and they represent attempts to overwrite
the packet bytes handed to tcpdump by libpcap, which could well *fail*
with, for example, memory-mapped capture mechanisms!
aclocal.m4
configure