gmime r1344 - in branches/gmime-2-2: . gmime
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1344 - in branches/gmime-2-2: . gmime
- Date: Sat, 7 Jun 2008 20:02:15 +0000 (UTC)
Author: fejj
Date: Sat Jun 7 20:02:14 2008
New Revision: 1344
URL: http://svn.gnome.org/viewvc/gmime?rev=1344&view=rev
Log:
2008-06-07 Jeffrey Stedfast <fejj novell com>
* gmime/internet-address.c (decode_mailbox): Prevent reading past
the end of the input string.
Modified:
branches/gmime-2-2/ChangeLog
branches/gmime-2-2/gmime/internet-address.c
Modified: branches/gmime-2-2/gmime/internet-address.c
==============================================================================
--- branches/gmime-2-2/gmime/internet-address.c (original)
+++ branches/gmime-2-2/gmime/internet-address.c Sat Jun 7 20:02:14 2008
@@ -827,7 +827,7 @@
g_string_free (addr, TRUE);
/* comma will be eaten by our caller */
- if (*inptr != ',')
+ if (*inptr && *inptr != ',')
*in = inptr + 1;
else
*in = inptr;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]