[Bug 43754] New: In dlls/dbghelp/dwarf.c file, there is a NULL dereference
https://bugs.winehq.org/show_bug.cgi?id=43754 Bug ID: 43754 Summary: In dlls/dbghelp/dwarf.c file, there is a NULL dereference Product: Wine Version: 2.0.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dbghelp Assignee: wine-bugs(a)winehq.org Reporter: os(a)iscas.ac.cn Distribution: --- Created attachment 59249 --> https://bugs.winehq.org/attachment.cgi?id=59249 In line 447, variable last has a NULL dereference In the dwarf.c file, the variable last is assigned NULL,there is no other operation with last, uthil "last->next = new "when the "abbrev_entry->attrs" is true, so there is a NULL dereference. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43754 --- Comment #1 from iscas <os(a)iscas.ac.cn> --- Created attachment 59250 --> https://bugs.winehq.org/attachment.cgi?id=59250 a patch for the bug -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43754 iscas <os(a)iscas.ac.cn> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #59249|In line 447, variable last |In line 447, the variable description|has a NULL dereference |last has a NULL dereference -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43754 --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> --- abbrev_entry->attrs will be null the first time around. The code looks fine to me. Did you actually get a crash here? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43754 --- Comment #3 from iscas <os(a)iscas.ac.cn> --- (In reply to Alexandre Julliard from comment #2)
abbrev_entry->attrs will be null the first time around. The code looks fine to me. Did you actually get a crash here?
sorry , i,m wrong ,i just thought it was a bug -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43754 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Invalid then. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43754 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org