Thread (6 messages) 6 messages, 1 author, 2016-06-15

Re: [PATCH 4/4] vcs-svn: improve reporting of input errors

flat view

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:50:19

Jonathan Nieder wrote:
quoted hunk ↗ jump to hunk
--- a/vcs-svn/svndump.c
+++ b/vcs-svn/svndump.c
@@ -107,20 +107,37 @@ static void init_keys(void)
[...]
quoted hunk ↗ jump to hunk
 		} else if (!strncmp(t, "V ", 2)) {
 			len = atoi(&t[2]);
 			val = buffer_read_string(len);
+			if (!t)
+				die_short_read();
This should have said "if (!val)".  Sorry for the confusion.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help