Opened 7 years ago

Closed 6 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 6 years ago.
patch-264t.txt (625 bytes) - added by Yuri Dario 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Yuri Dario

Attachment: patch-264b.txt added

Changed 6 years ago by Yuri Dario

Attachment: patch-264t.txt added

comment:1 Changed 6 years ago by Yuri Dario

Patched to return INVALID_PARAMETER if filename is NULL.

comment:2 Changed 6 years ago by Yuri Dario

Owner: changed from bird to Yuri Dario
Status: newaccepted

comment:3 Changed 6 years ago by bird

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 Changed 6 years ago by bird

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