[Bug 564738] New: nmap: potential null dereference
http://bugzilla.novell.com/show_bug.cgi?id=564738 http://bugzilla.novell.com/show_bug.cgi?id=564738#c0 Summary: nmap: potential null dereference Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: hvogel@novell.com ReportedBy: jslaby@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Hi, Stanse found this error in nmap of OS 11.2: pointer always points to valid memory here, but checking for not NULL.[fs] static void close_func (LexState *ls) { lua_State *L = ls->L; FuncState *fs = ls->fs; Proto *f = fs->f; <-- loc0 .. if (fs) anchor_token(ls); <-- here } It is due to fs is already dereferenced at loc0 and cannot be NULL at that point. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564738
http://bugzilla.novell.com/show_bug.cgi?id=564738#c
Hendrik Vogelsang
http://bugzilla.novell.com/show_bug.cgi?id=564738
http://bugzilla.novell.com/show_bug.cgi?id=564738#c
Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=564738
https://bugzilla.novell.com/show_bug.cgi?id=564738#c1
Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=564738
https://bugzilla.novell.com/show_bug.cgi?id=564738#c2
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=564738
https://bugzilla.novell.com/show_bug.cgi?id=564738#c3
Jiri Slaby
Will be removed in future lua versions.
Could you add a link to the upstream commit and describe how lua relates to nmap? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=564738
https://bugzilla.novell.com/show_bug.cgi?id=564738#c4
Vitezslav Cizek
(In reply to comment #2)
Will be removed in future lua versions.
Could you add a link to the upstream commit and describe how lua relates to nmap?
Nmap has embedded lua interpreter as a scripting engine. Lua doesn't have development code repository, but this is already fixed in the current development version 5.2.0-alpha, see http://www.lua.org/work/. Here's discussion about this on lua mailing list: http://lua-users.org/lists/lua-l/2009-08/msg00213.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com