Opened 7 years ago

Closed 6 years ago

#264 closed defect (fixed)

dlopen does not expect NULL pszLibrary

Reported by: stevenhl Owned by: ydario
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 ydario 6 years ago.
patch-264t.txt (625 bytes) - added by ydario 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by ydario

Changed 6 years ago by ydario

comment:1 Changed 6 years ago by ydario

Patched to return INVALID_PARAMETER if filename is NULL.

comment:2 Changed 6 years ago by ydario

  • Owner changed from bird to ydario
  • Status changed from new to accepted

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 set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.