std.file functions and embedded NUL characters [CWE-158]
Doigt
labog at outlook.com
Thu Jul 31 23:26:50 UTC 2025
On Thursday, 31 July 2025 at 21:55:03 UTC, kdevel wrote:
> On Thursday, 31 July 2025 at 21:25:44 UTC, Doigt wrote:
>> [...]
>> Do you actually have a source or an example program that D
>> actually does anything with the null terminator
>
> I did not argue that D "does" something "with the null
> terminator".
> D like perl or Ada
and this is my entire problem with your entire argument. You are
generalizing based on preconceived notions. You are guessing. You
aren't actually informed about D. You don't really care what D
does and how we program in D. You immediately tout python's
superiority in our faces. You impose a solution just because
python does it. What about trying out D for real? Have you
programmed in D even once? Do you know what is the stance of the
community on exceptions? Do you know how we usually (do or don't)
handle the null terminator? No, you don't. You're fishing and you
have two big ones on your line, but that doesn't mean I'll bite.
Like barging into someone's home suddenly without ever meeting
them before and demanding they do things for you even though you
don't even care that they do it.
More information about the Digitalmars-d
mailing list