[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] DAV login problem (and a fix)

From: Robin Farine
Subject: Re: [Gnu-arch-users] DAV login problem (and a fix)
Date: 19 Nov 2003 09:06:33 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

... and it seems that the bug lies in hackerlab. If str_cpy_n() did
actually copy n non-zero chars, then it would not terminate 'to' with
a null chararcter.

--- orig/char/str.c
+++ mod/char/str.c
@@ -541,8 +541,7 @@
-  while (n--)
-    *to++ = 0;
+  *to = 0;
   return answer;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]