[Pidgin] #16482: Fix buffer overflow in gg_handle_reading_hub
Pidgin
trac at pidgin.im
Mon Dec 1 01:05:06 EST 2014
#16482: Fix buffer overflow in gg_handle_reading_hub
-------------------------+-----------------------
Reporter: alex.henrie | Owner:
Type: patch | Status: new
Milestone: | Component: Gadu-Gadu
Version: 2.10.11 | Keywords:
-------------------------+-----------------------
If sscanf extracts a string of length 128, it sets host[128] to 0,
overflowing into int port.
From cppcheck:
[libpurple/protocols/gg/lib/events.c:1051]: (error) Width 128 given in
format string (no. 2) is larger than destination buffer 'host[128]', use
%127s to prevent overflowing it.
--
Ticket URL: <https://developer.pidgin.im/ticket/16482>
Pidgin <https://pidgin.im>
Pidgin
More information about the Tracker
mailing list