std.file functions and embedded NUL characters [CWE-158]

0xEAB desisma at heidel.beer
Fri Aug 1 00:17:42 UTC 2025


On Friday, 1 August 2025 at 00:11:51 UTC, Steven Schveighoffer 
wrote:
> The OP's issue is looking at this the wrong way. The 
> responsibility is on the user to validate their input.

Technically, any function calling `toStringz()` should probably 
inherit that warning from the doc comment of `toStringz` into its 
own documentation.


More information about the Digitalmars-d mailing list