Opened 13 years ago
Closed 12 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)
Change History (6)
by , 12 years ago
| Attachment: | patch-264b.txt added |
|---|
by , 12 years ago
| Attachment: | patch-264t.txt added |
|---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → accepted |
comment:3 by , 12 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 , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Patched to return INVALID_PARAMETER if filename is NULL.