rev 17529: /trunk/epan/: ipv4.c

[email protected]
Newsgroups gmane.network.ethereal.cvs
Message-ID <[email protected]>
User: gram
Date: 2006/03/08 07:36 AM

Log:
 Coverity CID 103 pointed me to this section of code. The buffer
 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.

Directory: /trunk/epan/
  Changes    Path          Action
  +15 -23    ipv4.c        Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=17529&view=rev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.