https://bugs.winehq.org/show_bug.cgi?id=38964
Bug ID: 38964 Summary: utils.c NULL pointer reference in memcpy Product: Wine Version: 1.7.47 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: vitti570@gmail.com Distribution: ---
In widl/utils.c:379 memcpy( output_buffer + output_buffer_pos, data, size ); the pointer data is NULL. This is during wine build on x86-64 with default -m32 option. I double checked it by prefixing the instruction with "assert(data)" as in assert(data),memcpy( output_buffer + output_buffer_pos, data, size );
https://bugs.winehq.org/show_bug.cgi?id=38964
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=38964
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #1 from super_man@post.com --- Since you are able to spot this, can you form a patch and send it over?
https://bugs.winehq.org/show_bug.cgi?id=38964
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|utils.c NULL pointer |widl: inconsistent null |reference in memcpy |pointer checks in typelib | |writer
https://bugs.winehq.org/show_bug.cgi?id=38964
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fe5bfa5b7196786633c1e702d9e | |6d55f0bad3ccb Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Should be fixed with fe5bfa5b7196786633c1e702d9e6d55f0bad3ccb.
https://bugs.winehq.org/show_bug.cgi?id=38964
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.18.
https://bugs.winehq.org/show_bug.cgi?id=38964
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=38964
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.4.