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)
committerArt Cancro <ajc@citadel.org>
Thu, 27 Jan 2011 02:38:21 +0000 (21:38 -0500)
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 876b4e57bb660ce8c88ec528ec74906b7776236e..2f62309d931073a8d374baf37287fe58a11445f0 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");
        }
 
        /*