Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
compat-openssl098.11471
CVE-2012-2131.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2012-2131.patch of Package compat-openssl098.11471
Index: openssl-0.9.8j/crypto/buffer/buffer.c =================================================================== --- openssl-0.9.8j.orig/crypto/buffer/buffer.c +++ openssl-0.9.8j/crypto/buffer/buffer.c @@ -99,6 +99,12 @@ int BUF_MEM_grow(BUF_MEM *str, int len) char *ret; unsigned int n; + if (len < 0) + { + BUFerr(BUF_F_BUF_MEM_GROW,ERR_R_MALLOC_FAILURE); + return 0; + } + if (str->length >= len) { str->length=len; @@ -140,6 +146,11 @@ int BUF_MEM_grow_clean(BUF_MEM *str, int { char *ret; unsigned int n; + if (len < 0) + { + BUFerr(BUF_F_BUF_MEM_GROW_CLEAN,ERR_R_MALLOC_FAILURE); + return 0; + } if (str->length >= len) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor