[Commits] [SCM] claws branch, master, updated. 3.13.0-74-g8f65fc9

Colin colin at claws-mail.org
Mon Nov 16 10:16:15 CET 2015


The branch, master has been updated
       via  8f65fc9f8be8d30ba67d8f4a64256e8645aa0dc1 (commit)
       via  2a2a1bd7db0949e1763661b6098b31a6cd82f617 (commit)
      from  0314464dd5c5e4e49f7fb5835e0316726267506e (commit)

Summary of changes:
 src/mainwindow.c |    5 +++++
 1 file changed, 5 insertions(+)


- Log -----------------------------------------------------------------
commit 8f65fc9f8be8d30ba67d8f4a64256e8645aa0dc1
Merge: 2a2a1bd 0314464
Author: Colin Leroy <colin at colino.net>
Date:   Mon Nov 16 10:17:24 2015 +0100

    Merge branch 'master' of ssh+git://git.claws-mail.org/home/git/claws


commit 2a2a1bd7db0949e1763661b6098b31a6cd82f617
Author: Colin Leroy <colin at colino.net>
Date:   Mon Nov 16 10:04:16 2015 +0100

    Fix bug #3563 (URL parser will read out of bounds when closing bracket is missing in get_url_part)
    Patch by Hanno Boeck

diff --git a/src/mainwindow.c b/src/mainwindow.c
index c51bbc6..fe436a7 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -3503,6 +3503,11 @@ static void get_url_part (const gchar **buffer, gchar *url_decoded)
 		for (i = 0;
 		     *buf != '>' && *buf != 0x00 && i < BUFFSIZE;
 			tmp[i++] = *(buf++));
+		if (*buf == 0) {
+			*buffer = NULL;
+			*url_decoded = '\0';
+			return;
+		}
 		buf++;
 	}
 	else  {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list