/pidgin/main: 20467cdcdbdd: Gadu-Gadu: fix a possible buffer ove...

Tomasz Wasilczyk twasilczyk at pidgin.im
Wed Dec 3 08:46:37 EST 2014


Changeset: 20467cdcdbdd2334ff37d96d79eaf9d006de787f
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-12-03 14:46 +0100
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/20467cdcdbdd

Description:

Gadu-Gadu: fix a possible buffer overflow. Fixes #16482

diffstat:

 libpurple/protocols/gg/lib/events.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/gg/lib/events.c b/libpurple/protocols/gg/lib/events.c
--- a/libpurple/protocols/gg/lib/events.c
+++ b/libpurple/protocols/gg/lib/events.c
@@ -971,7 +971,7 @@ static gg_action_t gg_handle_reading_hub
 	struct gg_event *e, enum gg_state_t next_state,
 	enum gg_state_t alt_state, enum gg_state_t alt2_state)
 {
-	char buf[1024], *tmp, host[128];
+	char buf[1024], *tmp, host[129];
 	int port = GG_DEFAULT_PORT;
 	int reply;
 	const char *body;



More information about the Commits mailing list