Overflows in Phobos
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 25 15:17:04 PDT 2016
In poking around in Phobos, I found a number of cases like:
https://github.com/dlang/phobos/pull/4655
where overflow is possible in calculating storage sizes. Since allocation
normally happens in @trusted code, these are a safety/security hole.
When reviewing Phobos submissions, please check for this sort of thing.
https://wiki.dlang.org/Get_involved#Review_pull_requests
More information about the Digitalmars-d
mailing list