[openssl/openssl] 905ba9: punycode: update to use WPACKET instead of using c...
Pauli
noreply at github.com
Thu Nov 10 21:17:08 UTC 2022
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 905ba924398f474e647de70345b4ae4089fedba7
https://github.com/openssl/openssl/commit/905ba924398f474e647de70345b4ae4089fedba7
Author: Pauli <pauli at openssl.org>
Date: 2022-11-11 (Fri, 11 Nov 2022)
Changed paths:
M crypto/punycode.c
M crypto/x509/v3_ncons.c
M doc/internal/man3/ossl_punycode_decode.pod
M include/crypto/punycode.h
M test/punycode_test.c
Log Message:
-----------
punycode: update to use WPACKET instead of using custom range checking
Add test for `.' overflows, remove the output size argument from
ossl_a2ulabel() since it was never used and greatly complicated the code.
Convert ossl_a2ulabel() to use WPACKET for building the output string.
Update the documentation to match the new definition of ossl_a2ulabel().
x509: let punycode handle the '\0' string termination. Saves a memset(3)
and some size fiddling. Also update to deal with the modified parameters.
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19591)
Commit: 8aa82b337081b7a22c35dddad8d62fb1ca9ea884
https://github.com/openssl/openssl/commit/8aa82b337081b7a22c35dddad8d62fb1ca9ea884
Author: Pauli <pauli at openssl.org>
Date: 2022-11-11 (Fri, 11 Nov 2022)
Changed paths:
M fuzz/build.info
A fuzz/corpora/punycode/0000000000000000000000000000000000000000
A fuzz/corpora/punycode/0000000000000000000000000000000000000001
M fuzz/fuzzer.h
A fuzz/punycode.c
M include/crypto/punycode.h
Log Message:
-----------
fuzz: add punycode decoder fuzz test
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19591)
Compare: https://github.com/openssl/openssl/compare/373d90128042...8aa82b337081
More information about the openssl-commits
mailing list