Opened 7 years ago

Closed 7 years ago

Last modified 7 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 7 years ago.
Likely fix (without trying to compile it)

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by guest

Likely fix (without trying to compile it)

comment:1 Changed 7 years ago by bird

  • Resolution set to fixed
  • Status changed from new to 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 Changed 7 years ago by bird

  • Milestone set to libc-0.6.3
  • Version set to 0.6

comment:3 Changed 7 years ago by bird

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

Note: See TracTickets for help on using tickets.