[Pidgin] #16482: Fix buffer overflow in gg_handle_reading_hub

Pidgin trac at pidgin.im
Wed Dec 3 16:46:37 EST 2014


#16482: Fix buffer overflow in gg_handle_reading_hub
-------------------------+-------------------------
 Reporter:  alex.henrie  |       Owner:  tomkiewicz
     Type:  patch        |      Status:  closed
Milestone:  2.10.12      |   Component:  Gadu-Gadu
  Version:  2.10.11      |  Resolution:  fixed
 Keywords:               |
-------------------------+-------------------------

Comment (by alex.henrie):

 Thanks! One other thing: Does Gadu-Gadu really limit the hostname to 128
 characters? Typically hostnames are limited to 253 characters plus a null
 terminator,[1] so maybe host[254] with %254s would be better.

 [1] http://blogs.msdn.com/b/oldnewthing/archive/2012/04/12/10292868.aspx

--
Ticket URL: <https://developer.pidgin.im/ticket/16482#comment:4>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list