Opened 17 years ago

Closed 17 years ago

Last modified 17 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@…

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)

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

Download all attachments as: .zip

Change History (4)

by guest, 17 years ago

Attachment: SafeDosStartSession.diff added

Likely fix (without trying to compile it)

comment:1 by bird, 17 years ago

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 by bird, 17 years ago

Milestone: libc-0.6.3
Version: 0.6

comment:3 by bird, 17 years ago

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

Note: See TracTickets for help on using tickets.