[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 <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hvogel@novell.com |anicka@novell.com -- 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 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=564738 https://bugzilla.novell.com/show_bug.cgi?id=564738#c1 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|anicka@novell.com |vcizek@novell.com --- Comment #1 from Anna Bernathova <anicka@novell.com> 2010-12-01 13:34:10 UTC --- new maintainer -- 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#c2 Vitezslav Cizek <vcizek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |UPSTREAM --- Comment #2 from Vitezslav Cizek <vcizek@novell.com> 2010-12-06 08:04:47 UTC --- Will be removed in future lua versions. -- 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#c3 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|UPSTREAM | --- Comment #3 from Jiri Slaby <jslaby@novell.com> 2010-12-06 10:05:24 UTC --- (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? -- 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 <vcizek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |UPSTREAM --- Comment #4 from Vitezslav Cizek <vcizek@novell.com> 2010-12-06 15:18:45 UTC --- (In reply to comment #3)
(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