[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-dev] [Bug 80] New: [PATCH][FR] Enable warning for printf()-like functions
http://www.ossec.net/bugs/show_bug.cgi?id=80
Summary: [PATCH][FR] Enable warning for printf()-like functions
Product: OSSEC
Version: 1.3
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: ossec core
AssignedTo: ossec-dev@xxxxxxxxx
ReportedBy: php-coder@xxxxxxxxxxxx
I suggest add __attribute__((format)) for all printf-like functions when
project builds under GCC. It's allow to us avoid problems with wrong format
(see bug #62) and possible program crashes in future.
For more details about __attribute__:
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
Patch will be attached.
--
Configure bugmail: http://www.ossec.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.