From: Colin Leroy Date: Mon, 22 Oct 2007 16:23:23 +0000 (+0000) Subject: 2007-10-22 [colin] 3.0.2cvs97 X-Git-Tag: rel_3_1_0~53 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=3f4891fba553376db16aa1baec8e091fa0fc6be2 2007-10-22 [colin] 3.0.2cvs97 * src/news.c Fix bug 1368, 'SIGSEGV in NNTP code' --- diff --git a/ChangeLog b/ChangeLog index 8c6f45ab9..a727187b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-22 [colin] 3.0.2cvs97 + + * src/news.c + Fix bug 1368, 'SIGSEGV in NNTP code' + 2007-10-22 [colin] 3.0.2cvs96 * src/prefs_customheader.c diff --git a/PATCHSETS b/PATCHSETS index 31912106f..144f23169 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -3009,3 +3009,4 @@ ( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/etpan/nntp-thread.c; ) > 3.0.2cvs94.patchset ( cvs diff -u -r 1.22.2.37 -r 1.22.2.38 src/quote_fmt_parse.y; ) > 3.0.2cvs95.patchset ( cvs diff -u -r 1.16.2.31 -r 1.16.2.32 src/prefs_customheader.c; ) > 3.0.2cvs96.patchset +( cvs diff -u -r 1.101.2.42 -r 1.101.2.43 src/news.c; ) > 3.0.2cvs97.patchset diff --git a/configure.ac b/configure.ac index a3d95c5a2..36753511a 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=0 MICRO_VERSION=2 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=96 +EXTRA_VERSION=97 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/news.c b/src/news.c index b6dcf0887..2901d0d77 100644 --- a/src/news.c +++ b/src/news.c @@ -755,7 +755,8 @@ static gint news_select_group(Folder *folder, const gchar *group, *last = info->grp_last; } - newsnntp_group_free(info); + if (info) + newsnntp_group_free(info); if (ok == NEWSNNTP_NO_ERROR) session->group = g_strdup(group);