From fcafb58021ca3255dbea8215f79e0e8a0ad44cfd Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Tue, 28 Dec 2010 15:38:20 +0100 Subject: [PATCH] Fixed buffer overflow bug at pickup feature --- apppbx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apppbx.cpp b/apppbx.cpp index 87e4f41..f92f167 100644 --- a/apppbx.cpp +++ b/apppbx.cpp @@ -3480,7 +3480,7 @@ int match_list(char *list, char *item) while(42) { /* eliminate white spaces */ - while (*list <= ' ') + while (*list > '\0' && *list <= ' ') list++; if (*list == ',') { list++; -- 2.13.6