[PATCH]fix the problem of using strtoul in priority_boost_parse and flush_parse

chuli chul at cn.fujitsu.com
Tue Jun 24 06:05:57 UTC 2008


Hello,
  When the configure value of priority_boost or flush is larger than INT_MAX,
auditd is still started successfully. The priority_boost_parser and flush_parse 
code use an int variable to store the result strtoul() and then compared with 
INT_MAX.
  The attached patch fixes the problem in src/auditd-config.c and 
audisp/audispd-config.c.

Regards
Chu Li
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audit-1.7.4-audisp_INT_MAX.patch
Type: application/octet-stream
Size: 885 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20080624/f1f34932/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audit-1.7.4-INT_MAX.patch
Type: application/octet-stream
Size: 1579 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20080624/f1f34932/attachment-0001.obj>


More information about the Linux-audit mailing list