diff options
author | tedu <> | 2014-11-18 03:28:05 +0000 |
---|---|---|
committer | tedu <> | 2014-11-18 03:28:05 +0000 |
commit | 8e184a24232ac494ffc7ec0d41b050fd39b7645d (patch) | |
tree | 6e76bced04c6788e1e0e09ec5873afceb516cd35 /src/lib/libcrypto/x509v3/v3_addr.c | |
parent | bfbfc9f97202a8cab8435a93df289559bfa32d7f (diff) | |
download | openbsd-8e184a24232ac494ffc7ec0d41b050fd39b7645d.tar.gz openbsd-8e184a24232ac494ffc7ec0d41b050fd39b7645d.tar.bz2 openbsd-8e184a24232ac494ffc7ec0d41b050fd39b7645d.zip |
further BUF_strdup conversion: these places should be safe to rely on
the function argument not being NULL
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_addr.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_addr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_addr.c b/src/lib/libcrypto/x509v3/v3_addr.c index 1e016586c7..40efb1b9ac 100644 --- a/src/lib/libcrypto/x509v3/v3_addr.c +++ b/src/lib/libcrypto/x509v3/v3_addr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: v3_addr.c,v 1.13 2014/07/13 16:03:10 beck Exp $ */ | 1 | /* $OpenBSD: v3_addr.c,v 1.14 2014/11/18 03:28:05 tedu Exp $ */ |
2 | /* | 2 | /* |
3 | * Contributed to the OpenSSL Project by the American Registry for | 3 | * Contributed to the OpenSSL Project by the American Registry for |
4 | * Internet Numbers ("ARIN"). | 4 | * Internet Numbers ("ARIN"). |
@@ -1019,7 +1019,7 @@ v2i_IPAddrBlocks(const struct v3_ext_method *method, struct v3_ext_ctx *ctx, | |||
1019 | length = length_from_afi(afi); | 1019 | length = length_from_afi(afi); |
1020 | 1020 | ||
1021 | /* | 1021 | /* |
1022 | * Handle SAFI, if any, and BUF_strdup() so we can null-terminate | 1022 | * Handle SAFI, if any, and strdup() so we can null-terminate |
1023 | * the other input values. | 1023 | * the other input values. |
1024 | */ | 1024 | */ |
1025 | if (safi != NULL) { | 1025 | if (safi != NULL) { |