diff options
| author | Frank Denis <124872+jedisct1@users.noreply.github.com> | 2021-08-09 22:44:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-09 22:44:23 +0200 |
| commit | 2ccd023c6ae590b4ff311814ccf5ff508c7669ef (patch) | |
| tree | 6d3e420271225b5e5d22bf8f1d1e9666d8eb01e8 /lib/libcxx/src/debug.cpp | |
| parent | 799fedf612aa8742c446b015c12d21707a1dbec0 (diff) | |
| download | zig-2ccd023c6ae590b4ff311814ccf5ff508c7669ef.tar.gz zig-2ccd023c6ae590b4ff311814ccf5ff508c7669ef.zip | |
Ip4Address parser: reject 0-prefixed components (#9538)
Some parsers interpret these as octal, some don't, and the confusion can lead to vulnerabilities.
Return error.NonCanonical when parsing IPv4 addresses with 0 prefixes.
Diffstat (limited to 'lib/libcxx/src/debug.cpp')
0 files changed, 0 insertions, 0 deletions
