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

Tomasz Wasilczyk <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 20467cdcdbdd2334ff37d96d79eaf9d006de787f
Author:	 Tomasz Wasilczyk <[email protected]>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.