Display PASS/FAIL syslog msgs for the new security check.
authorArt Cancro <ajc@citadel.org>
Thu, 27 Jan 2011 02:38:21 +0000 (21:38 -0500)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 14:08:03 +0000 (14:08 +0000)
This determines whether a requested message actually exists in the current room,
preventing unauthorized msgnum sweeps.  We do not actually fail the message yet; I
will add that when the security check yields no false positives.

citadel/msgbase.c

index 9c86ba9ff4bbdbacc48efd9b6c187a283033a8f5..5e10471eb4024dc8d65127887aa1015b9ee90203 100644 (file)
@@ -654,6 +654,7 @@ int CtdlForEachMessage(int mode, long ref, char *search_string,
        
                CC->cached_msglist = msglist;
                CC->cached_num_msgs = num_msgs;
+               syslog(LOG_DEBUG, "\033[34m RELOAD \033[0m\n");
        }
 
        /*