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@winehq.org Reporter: os@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.
https://bugs.winehq.org/show_bug.cgi?id=43754
--- Comment #1 from iscas os@iscas.ac.cn --- Created attachment 59250 --> https://bugs.winehq.org/attachment.cgi?id=59250 a patch for the bug
https://bugs.winehq.org/show_bug.cgi?id=43754
iscas os@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
https://bugs.winehq.org/show_bug.cgi?id=43754
--- Comment #2 from Alexandre Julliard julliard@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?
https://bugs.winehq.org/show_bug.cgi?id=43754
--- Comment #3 from iscas os@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
https://bugs.winehq.org/show_bug.cgi?id=43754
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Invalid then.
https://bugs.winehq.org/show_bug.cgi?id=43754
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com --- Closing.