bug-anubis
[Top][All Lists]
Advanced

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

[bug-anubis] Error in patch for 3.9.93


From: Rainer W. Gerling
Subject: [bug-anubis] Error in patch for 3.9.93
Date: Wed, 26 May 2004 16:08:22 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
there is a bug in the patch for Anubis 3.9.93.

+       p += 2 + sizeof (USERNAME_C) - 1;
+       p = strchr (p, ':');
+       if (!p)
+               return 1;
+       p++;p++;      # the second p++ has to be added
+       if (strlen (p) >= size)

You get the position of the last colon by the strchr-function,
but there is a space between the colon and the username which you
have to skip, too.
Regards
Rainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: http://www.mpg.de

iD8DBQFAtKTW3HeLB051S+0RAj9iAKDZrxNFWKzj5qhW61/B3TW/FkTxEgCg22mA
m/vEJ/Jh9Ru0oauzHiOMhqw=
=Rwl0
-----END PGP SIGNATURE-----




reply via email to

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