Elektrine lite

← Feed

@drj@typo.social

Post #1948500

2026-04-22 09:51 UTC

I have "ported" the SDL-based ZX81 emulator sz81 to macOS https://git.sr.ht/~drj/sz81 This is a fork of the Sourceforge version; downloads from which give every impression of being a wretched hive of scum and villainy. In what i suspect has been an increasing trend over the last 40 years, the ancient code did something, a strcpy onto itself, which was Undefined Behaviour in 1990, actually harmless for most of the time it has been compiled; then, when the boffins at Apple decide to detect and trap the instances of UB that they can in the C runtime, it actually crashes on modern C stacks. #ZX81

Replies (0)

No replies.