summaryrefslogtreecommitdiff
path: root/lib/libpcap/optimize.c
AgeCommit message (Collapse)Author
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2005-11-19In count_stmts(), make sure to account for long jump instructions as well,Aaron Campbell
avoiding a memory error that could lead to a crash when a sufficiently complex bpf filter has been specified. otto@, millert@, djm@ ok Reference- http://www.tcpdump.org/lists/workers/2000/msg01364.html
2004-01-27remove $Header, it was messing up cvs for me. ok deraadt@Ted Unangst
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-07-09more error checking of memory allocation, from clodder@acm.org. okay deraadt@Niels Provos
2000-04-26sync with libpcap v0.5Jakob Schlyter
add support for INET6 (kame)
1999-07-20changes brought in from v0.4; started by brad, more by me, being tested by mtsTheo de Raadt
1996-09-16Use __inlineThorsten Lockert
1996-07-12bring it to the latest 0.2 LBL release.Michael Shalayeff
1996-06-10merge to latest libpcapTheo de Raadt
1996-03-04Update to the latest LBL release.Michael Shalayeff
1995-10-18initial import of NetBSD treeTheo de Raadt