On 12/20/05, Peter Palfrader <[EMAIL PROTECTED]> wrote:
> Read only access is already available to the public - see
> http://svn.debian.org/. When you have your first patch, send it to me
> and we'll figure out a way to give you commit privileges as well.
Peter,
please apply this diff to deborphan.
It fixes bug#334720
Fabio
******************************************************************
Index: src/string.c
===================================================================
--- src/string.c (revisione 547)
+++ src/string.c (copia locale)
@@ -64,6 +64,10 @@
return NULL;
t = strchr(*str, c);
+
+ if (!t)
+ return NULL;
+
new = (char *) xmalloc((size_t) (t - (*str)) + 1); /* Safe? */
memcpy(new, *str, t - *str + 1);
*(new + (t - (*str))) = '\0';