tkchia / newlib-ia16

Fork of IA-16 port of Newlib -- added small and medium model support
GNU General Public License v2.0
13 stars 4 forks source link

Handle null environment segment in Program Segment Prefix #21

Closed tkchia closed 1 year ago

tkchia commented 1 year ago

Stas Sergeev reports (https://github.com/tkchia/causeway/pull/7), in the context of the CauseWay DOS extender,

Some DOSes set env seg to NULL, either when env is empty or always for the first process (aka permanent shell).

This issue is also relevant for newlib-ia16.