• David Keeler's avatar
    Bug 1334054 - fix CERT_FormatName output buffer length calculation r=franziskus · 22691690
    David Keeler authored
    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
    
    --HG--
    rename : gtests/der_gtest/Makefile => gtests/certhigh_gtest/Makefile
    rename : gtests/der_gtest/der_gtest.gyp => gtests/certhigh_gtest/certhigh_gtest.gyp
    rename : gtests/der_gtest/manifest.mn => gtests/certhigh_gtest/manifest.mn
    extra : rebase_source : 1fb5cbf1c77018e6d7f9f9aed0f3d9a3b33f4909
    22691690
Name
Last commit
Last update
automation Loading commit data...
cmd Loading commit data...
coreconf Loading commit data...
cpputil Loading commit data...
doc Loading commit data...
fuzz Loading commit data...
gtests Loading commit data...
lib Loading commit data...
nss-tool Loading commit data...
pkg Loading commit data...
tests Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.taskcluster.yml Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
build.sh Loading commit data...
exports.gyp Loading commit data...
help.txt Loading commit data...
manifest.mn Loading commit data...
nss.gyp Loading commit data...
readme.md Loading commit data...
trademarks.txt Loading commit data...