News for hackers. Stuff that matters.
Re:OpenBSD now enforcing no invalid NUL characters in shell ... by talideon on Tuesday September 24, 2024 @01:23PM (#41638839)
Not if it was done competently. Shar files and the likes shouldn't contain NULs, even if they contain compressed data. The appended data should be binary safe.
Re:OpenBSD now enforcing no invalid NUL characters in shell ... by Thiez on Tuesday September 24, 2024 @03:10PM (#41639860)
And in case your data does contain NULs, presumably one could add a layer of base64 encoding. Not nice for the filesize, but also much less likely to upset a text editor when the script is opened (even in the absence of NUL bytes).