From: SourceForge.net <no...@so...> - 2009-12-28 17:18:03
|
Bugs item #2922390, was opened at 2009-12-28 18:18 Message generated for change (Tracker Item Submitted) made by bvassche You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2922390&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: agent Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Bart Van Assche (bvassche) Assigned to: Nobody/Anonymous (nobody) Summary: Context name test in netsnmp_unix_parse_security() is wrong Initial Comment: The gcc compiler emits the following warning on the context name presence test in netsnmp_unix_parse_security(): snmpUnixDomain.c:595: warning: the address of 'secName' will always evaluate as 'true' The code gcc complains about is as follows: char secName[...]; ... if (!secName) ...; My opinion is that this indicates that the test is wrong. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2922390&group_id=12694 |