aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ipv4.c
AgeCommit message (Collapse)AuthorFilesLines
2009-03-13From Jakub Zawadzki (bug 3331):Stig Bjørlykke1-2/+1
g_free() is NULL safe, so we don't need check against it. svn path=/trunk/; revision=27718
2007-01-29Fix potential buffer overruns in address_to_str_buf() found by Andrej Gerald Combs1-1/+2
Mikus. Add a buf_len parameter to ip_to_str_buf(), and make sure it's enforced. Copy the release notes over from the 0.99.5 trunk and add a note about the ISUP dissector (which is affected by the overrun). svn path=/trunk/; revision=20607
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-03-08Coverity CID 103 pointed me to this section of code. The bufferGilbert Ramirez1-23/+15
overrun that Coverity thought existed does not exist. But I did notice something else: a signed/unsigned disparity between net_bits and new_nmask_bits. So I fixed that, then realized that the function in question, a static function named created_mask, is only used by one other function in the file. So I got ride of create_nmask and moved its logic into the single calling function, ipv4_addr_set_netmask_bits. svn path=/trunk/; revision=17529
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-02-01signed/unsigend warning fixesJörg Mayer1-2/+2
svn path=/trunk/; revision=9931
2003-08-19Void functions don't return values, even though GCC likes to pretendGuy Harris1-2/+2
that they do. svn path=/trunk/; revision=8193
2003-07-31Give FT_IPv4 val_repr_len and val_to_repr methods, and use them forGuy Harris1-6/+5
generating display filters from FT_IPv4 fields. svn path=/trunk/; revision=8110
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer1-12/+4
equivalents for the epan/ directory but leave winsock2.h in inet_pton.c and inet_ntop.c for now (can't estimate the consequences). svn path=/trunk/; revision=5928
2001-11-13Hopefully the last time I have to change my e-mail address.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=4199
2000-09-28Simple code movement.Gilbert Ramirez1-0/+188
svn path=/trunk/; revision=2463