Opened 12 years ago

Closed 11 years ago

#264 closed defect (fixed)

dlopen does not expect NULL pszLibrary

Reported by: Steven Levine Owned by: Yuri Dario
Priority: normal Milestone: libc-0.6.6
Component: libc-backend Version: 0.6.4
Severity: major Keywords: dlopen
Cc:

Description

dlopen(NULL, flags) requests the handle of the main program. libc_Back_ldrOpen does not expect this and traps.

Attachments (2)

patch-264b.txt (631 bytes ) - added by Yuri Dario 11 years ago.
patch-264t.txt (625 bytes ) - added by Yuri Dario 11 years ago.

Download all attachments as: .zip

Change History (6)

by Yuri Dario, 11 years ago

Attachment: patch-264b.txt added

by Yuri Dario, 11 years ago

Attachment: patch-264t.txt added

comment:1 by Yuri Dario, 11 years ago

Patched to return INVALID_PARAMETER if filename is NULL.

comment:2 by Yuri Dario, 11 years ago

Owner: changed from bird to Yuri Dario
Status: newaccepted

comment:3 by bird, 11 years ago

r3811 contains a quick hack to return a pseudo module for dlopen(NULL,0); No symbols can (yet) be resolved, that can possibly be added later if necessary.

comment:4 by bird, 11 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.