Wireshark-bugs: [Wireshark-bugs] [Bug 2823] New: Passing address of auto variable into caller sp
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2823
Summary: Passing address of auto variable into caller space (Lint
warning 684)
Product: Wireshark
Version: SVN
Platform: PC
URL: http://www.wireshark.org/lists/wireshark-
dev/200808/msg00135.html
OS/Version: Windows XP
Status: NEW
Severity: Major
Priority: High
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: christopher.maynard@xxxxxxxxx
Build Information:
SVN 26033
--
The following 2 source code files yield lint 684 warnings, "Passing address of
auto variable into caller space". I believe all of them are valid complaints:
1) *err_info = err_str;
.\rawshark.c(921) : Warning 684: Passing address of auto variable 'err_str'
into caller space
2) if (calc_auth_p) *calc_auth_p = calc_auth;
packet-snmp-template.c(1165) : Warning 684: Passing address of auto variable
'calc_auth' into caller space
3) if (calc_auth_p) *calc_auth_p = calc_auth;
packet-snmp-template.c(1221) : Warning 684: Passing address of auto variable
'calc_auth' into caller space
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.