[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Mon May 21 14:28:35 UTC 2018
The branch master has been updated
via 8e51a340f40fc80331ddac19203ef7a3e7e02d1a (commit)
from ee94ec2ef88e0ec25dedf2829d8e48dff0aa1c50 (commit)
- Log -----------------------------------------------------------------
commit 8e51a340f40fc80331ddac19203ef7a3e7e02d1a
Author: Rich Salz <rsalz at openssl.org>
Date: Mon May 21 10:28:16 2018 -0400
Check malloc failure via app_malloc
Thanks to GitHUb user murugesandins for reporting this.
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6322)
-----------------------------------------------------------------------
Summary of changes:
apps/speed.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/speed.c b/apps/speed.c
index c0a34ee..e513263 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -3152,7 +3152,7 @@ static int do_multi(int multi, int size_num)
int *fds;
static char sep[] = ":";
- fds = malloc(sizeof(*fds) * multi);
+ fds = app_malloc(sizeof(*fds) * multi, "fd buffer for do_multi");
for (n = 0; n < multi; ++n) {
if (pipe(fd) == -1) {
BIO_printf(bio_err, "pipe failure\n");
More information about the openssl-commits
mailing list