[Pidgin] #1635: unchecked use of MAXHOSTNAMELEN and MAXPATHLEN by Zephyr
Pidgin
trac at pidgin.im
Tue Jun 12 03:12:32 EDT 2007
#1635: unchecked use of MAXHOSTNAMELEN and MAXPATHLEN by Zephyr
-----------------------+----------------------------------------------------
Reporter: casper1 | Type: defect
Status: new | Priority: minor
Component: libpurple | Version: 2.0.1
Keywords: | Pending: 0
-----------------------+----------------------------------------------------
Zephyr protocol uses MAXHOSTNAMELEN and MAXPATHLEN without checking
if they are defined.
Hacky fix is to check if they are defined, and if not, to define them.
Correct approach is to use dynamically allocated buffers.
--
Ticket URL: <http://developer.pidgin.im/ticket/1635>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list