Ticket #169 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

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

Change History

Changed 6 years ago by guest

Likely fix (without trying to compile it)

comment:1 Changed 6 years ago by bird

  • Status changed from new to closed
  • Resolution set to fixed

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

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

comment:3 Changed 6 years ago by bird

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

Note: See TracTickets for help on using tickets.