From 728073d2851710ee8221c3097d50ca879aaf894b Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 24 Mar 2005 18:41:16 +0000 Subject: [PATCH] Fixed small pointer bug SVN revision: 1276 --- src/elogd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 03d143ce..464fec47 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.597 2005/03/24 18:41:16 ritt + Fixed small pointer bug + Revision 1.596 2005/03/24 12:54:05 ritt Fixed problem with '&' in href links @@ -1937,7 +1940,7 @@ void base64_decode(char *s, char *d) { unsigned int t; - while (*s) { + while (s && *s) { t = cind(*s) << 18; s++; t |= cind(*s) << 12;