Added some padding to the PDB for ill-behaving apps (problem reported by Andreas Mohr).
diff --git a/include/task.h b/include/task.h index bde0351..34b7222 100644 --- a/include/task.h +++ b/include/task.h
@@ -33,6 +33,7 @@ BYTE fcb1[16]; /* 5c First FCB */ BYTE fcb2[20]; /* 6c Second FCB */ BYTE cmdLine[128]; /* 80 Command-line (first byte is len)*/ + BYTE padding[16]; /* Some apps access beyond the end of the cmd line */ } PDB;