]> code.ossystems Code Review - openembedded-core.git/commit
nss: Use snprintf in sign.c
authorKhem Raj <raj.khem@gmail.com>
Fri, 23 Mar 2018 13:34:45 +0000 (06:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Mar 2018 23:28:38 +0000 (00:28 +0100)
commit7171e96f3a5f54c63674cf5282aea31bcb9cd7f9
treecc3176e09d759f11e079eb2f09bb3aaadf1fe0f5
parent590c2f13325c3f8906850c6e3b71f2fac8ed6336
nss: Use snprintf in sign.c

Fies security warnings
| sign.c:86:31: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
|          sprintf(fullfn, "%s/%s", tree, tempfn);

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/nss/nss/0001-Bug-1437734-Use-snprintf-in-sign.c-r-ttaubert.patch [new file with mode: 0644]
meta/recipes-support/nss/nss_3.35.bb