Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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@…


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)

SafeDosStartSession.diff (689 bytes) - added by guest 13 years ago.
Likely fix (without trying to compile it)

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by guest

Attachment: SafeDosStartSession.diff added

Likely fix (without trying to compile it)

comment:1 Changed 13 years ago by bird

Resolution: fixed
Status: newclosed

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

Milestone: libc-0.6.3
Version: 0.6

comment:3 Changed 13 years ago by bird

(In [3385]) Fixed build problem. References #169.

Note: See TracTickets for help on using tickets.