#169 closed defect (fixed)
Crash in safe version of DosStartSession() when passing NULLs
Reported by: | guest | Owned by: | bird |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.6.3 |
Component: | libc | Version: | 0.6 |
Severity: | normal | Keywords: | |
Cc: | mozilla@… |
Description
Using DosStartSession() with NULL in the second and/or third parameter and #including <os2safe.h> causes crashes. From what I understand NULL are allowed by the OS/2 API.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | SafeDosStartSession.diff added |
---|
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [3384]) Count the whole environment. Fixes #170. pulIdSession and ppid can be NULL, don't crash if they are and pass the correct values to DosStartSession. Fixes #169.
comment:2 by , 17 years ago
Milestone: | → libc-0.6.3 |
---|---|
Version: | → 0.6 |
Note:
See TracTickets
for help on using tickets.
Likely fix (without trying to compile it)