From: Andreas Eversberg Date: Tue, 28 Dec 2010 14:38:20 +0000 (+0100) Subject: Fixed buffer overflow bug at pickup feature X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=fc716483209769069666cb50fc4b3c924a2dec97 Fixed buffer overflow bug at pickup feature --- diff --git a/apppbx.cpp b/apppbx.cpp index aaa02cb..fff80ce 100644 --- a/apppbx.cpp +++ b/apppbx.cpp @@ -3509,7 +3509,7 @@ int match_list(char *list, char *item) while(42) { /* eliminate white spaces */ - while (*list <= ' ') + while (*list > '\0' && *list <= ' ') list++; if (*list == ',') { list++;