Wireshark-commits: [Wireshark-commits] rev 36397: /trunk/wiretap/ /trunk/wiretap/: k12text.l

Date: Tue, 29 Mar 2011 14:29:48 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36397

User: morriss
Date: 2011/03/29 07:29 AM

Log:
 Don't put a 196808 byte variable on the stack: instead, malloc/free it.
 
 Coverity 789-790.
 
 Since we've been keeping track of how many bytes we put in the buffer,
 use that value instead of calling strlen() find it again.
 
 Also, some white space/indentation cleanup.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +83 -59    k12text.l     Modified