Possible /dev/null corruption

Michael Sweet mike at easysw.com
Fri Apr 28 07:32:36 PDT 2006


Anonymous wrote:
> Hello all!
> 
> For all current versions:
> 
> If a log file points to /dev/null, the log-rotating is not disabled.
> Only changing the file permissions and ownership is catched in
> check_log_file() in log.c
> 
> When the file reaches MaxLogSize (the size is counted internally, not
> via the "stat" call), "/dev/null" is renamed to "/dev/null.O" and a
> bew ordinary file "/dev/null" is created.

Please file this using the bug report form at:

     http://www.cups.org/str.php

Thanks!

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups-devel mailing list