diff options
author | David Keeler <dkeeler@mozilla.com> | 2017-05-10 06:47:34 -0700 |
---|---|---|
committer | David Keeler <dkeeler@mozilla.com> | 2017-05-10 06:47:34 -0700 |
commit | 94dcf5aea423459764cf93cca0991356c293b06f (patch) | |
tree | 040564cc01b16fcf3fbf6be4e3bf46b4cada0ce3 /nss.gyp | |
parent | 528695fd12a7bcbf28add016b564e447388d823c (diff) | |
download | nss-hg-94dcf5aea423459764cf93cca0991356c293b06f.tar.gz |
Bug 1334054 - fix CERT_FormatName output buffer length calculation r=franziskus
Summary:
Before this patch, CERT_FormatName attempted to account for the length of the
additional formatting in its output buffer length, but added an insufficient
amount (a fixed 128 bytes). This patch dynamically accounts for the additional
space required by the formatting output (it can over-account in some cases, but
this is unlikely to be a performance concern compared to the original
implementation).
Reviewers: franziskus
Differential Revision: https://nss-review.dev.mozaws.net/D307
Diffstat (limited to 'nss.gyp')
-rw-r--r-- | nss.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -177,6 +177,7 @@ 'cmd/tstclnt/tstclnt.gyp:tstclnt', 'cmd/vfychain/vfychain.gyp:vfychain', 'cmd/vfyserv/vfyserv.gyp:vfyserv', + 'gtests/certhigh_gtest/certhigh_gtest.gyp:certhigh_gtest', 'gtests/der_gtest/der_gtest.gyp:der_gtest', 'gtests/freebl_gtest/freebl_gtest.gyp:prng_gtest', 'gtests/pk11_gtest/pk11_gtest.gyp:pk11_gtest', |