I changed malloc to calloc in exeload.c and
the problem was resolved. I didn't notice a
specific BSS section in the LX header so will
leave any refining of that to another day.
Whose responsibility is it to clear BSS?
I assume it is the operating system.
I am now able to open and read/write files,
but during testing (on PDOS/386) I found an
issue which I believe is due to uninitialized BSS.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 445 |
Nodes: | 16 (0 / 16) |
Uptime: | 114:18:11 |
Calls: | 9,209 |
Calls today: | 8 |
Files: | 13,483 |
Messages: | 6,054,656 |