runtime: support sys.stdout and sys.stderr and implement proper print - #29
Conversation
Code review complete. Found 5 bugs in src/runtime/modules/IOModule.cpp. Key issues: (1) L2169: flush registered under wrong name close, (2) L1359-1362: raw_write early return drops data, (3) L1401-1404: sputn OOB read with buffer.len instead of remaining, (4) L2185-2186: ferror(nullptr) UB after failed open, (5) L2206-2207: missing nullptr check after fdopen. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Code reviewFound 5 issues — see the inline comments. |
Uh oh!
There was an error while loading. Please reload this page.
No description provided.