diff options
| author | tedu <> | 2014-11-18 03:28:05 +0000 |
|---|---|---|
| committer | tedu <> | 2014-11-18 03:28:05 +0000 |
| commit | 869cc81dd908a614d1eb453fa73a49d0d193735a (patch) | |
| tree | 6e76bced04c6788e1e0e09ec5873afceb516cd35 /src/lib/libcrypto/x509v3/v3_addr.c | |
| parent | 1327462df8cb4ae2dc056e0de53b4b4dc50f50fa (diff) | |
| download | openbsd-869cc81dd908a614d1eb453fa73a49d0d193735a.tar.gz openbsd-869cc81dd908a614d1eb453fa73a49d0d193735a.tar.bz2 openbsd-869cc81dd908a614d1eb453fa73a49d0d193735a.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) { |
