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: | 493 |
Nodes: | 16 (2 / 14) |
Uptime: | 21:35:47 |
Calls: | 9,724 |
Calls today: | 14 |
Files: | 13,741 |
Messages: | 6,182,239 |