Wireshark mailing list archives
Re: [Wireshark-commits] rev 42676: /trunk/epan/ /trunk/epan/: proto.c
From: "Maynard, Chris" <Christopher.Maynard () GTECH COM>
Date: Mon, 28 May 2012 12:53:23 -0400
Was it the intention to call the function, protoo_strlcpy(), or is that a typo and it should be renamed to proto_strlcpy()? - Chris ________________________________________ From: wireshark-commits-bounces () wireshark org [wireshark-commits-bounces () wireshark org] On Behalf Of darkjames () wireshark org [darkjames () wireshark org] Sent: Thursday, May 17, 2012 6:18 AM To: wireshark-commits () wireshark org Subject: [Wireshark-commits] rev 42676: /trunk/epan/ /trunk/epan/: proto.c http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42676 User: darkjames Date: 2012/05/17 03:18 AM Log: Fix string buffer overflow (bug #7029) g_strlcpy() always return the size of strlen(src), so in case of truncation it could happen that offset_r > size or offset_e > size. Fix it by adding new function protoo_strlcpy() which returns how many bytes was copied to dest buffer. Directory: /trunk/epan/ Changes Path Action +21 -11 proto.c Modified ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-request () wireshark org?subject=unsubscribe CONFIDENTIALITY NOTICE: The information contained in this email message is intended only for use of the intended recipient. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately delete it from your system and notify the sender by replying to this email. Thank you. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: [Wireshark-commits] rev 42676: /trunk/epan/ /trunk/epan/: proto.c Maynard, Chris (May 28)
- Re: [Wireshark-commits] rev 42676: /trunk/epan/ /trunk/epan/: proto.c Jakub Zawadzki (May 28)