diff options
| author | Shulhan <ms@kilabit.info> | 2024-03-26 01:44:20 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-03-26 03:50:38 +0700 |
| commit | 15a2eb28b958e3cdeb3cdb7d2166f505701a00c0 (patch) | |
| tree | 7309d91f78dc7f2d33c8a4a9642e5d16f404c6e4 /lib/bytes/bytes_example_test.go | |
| parent | fc20219018dd3b259d0a8d0e790267b6bf37b0b2 (diff) | |
| download | pakakeh.go-15a2eb28b958e3cdeb3cdb7d2166f505701a00c0.tar.xz | |
lib/dns: use ParseUint to parse escaped octet in "\NNN" format
Previously, we use ParseInt to parse escaped octet "\NNN", but using
this method only allow decimal from 0 to 127, while the specification
allow 0 to 255.
Diffstat (limited to 'lib/bytes/bytes_example_test.go')
0 files changed, 0 insertions, 0 deletions
