FreeBSD Bugzilla – Attachment 175115 Details for
Bug 212921
openssl dumps core in 10.3-RELEASE-p7 during build of security/ca_root_nss
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
An upstream patch to fix the problem
openssl.diff (text/plain), 565 bytes, created by
Jung-uk Kim
on 2016-09-24 03:03:11 UTC
(
hide
)
Description:
An upstream patch to fix the problem
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2016-09-24 03:03:11 UTC
Size:
565 bytes
patch
obsolete
>--- crypto/openssl/crypto/bn/bn_print.c.orig >+++ crypto/openssl/crypto/bn/bn_print.c >@@ -141,14 +141,13 @@ char *BN_bn2dec(const BIGNUM *a) > if (BN_is_negative(t)) > *p++ = '-'; > >- i = 0; > while (!BN_is_zero(t)) { >+ if (lp - bn_data >= bn_data_num) >+ goto err; > *lp = BN_div_word(t, BN_DEC_CONV); > if (*lp == (BN_ULONG)-1) > goto err; > lp++; >- if (lp - bn_data >= bn_data_num) >- goto err; > } > lp--; > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212921
: 175115