Projects
Eulaceura:Factory
openslp
_service:obs_scm:openslp-2.0.0-null-pointer-der...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:openslp-2.0.0-null-pointer-deref.patch of Package openslp
diff -up openslp-2.0.0/common/slp_xmalloc.c.orig openslp-2.0.0/common/slp_xmalloc.c --- openslp-2.0.0/common/slp_xmalloc.c.orig 2012-12-07 01:52:08.000000000 +0100 +++ openslp-2.0.0/common/slp_xmalloc.c 2016-05-23 12:58:57.953532979 +0200 @@ -203,6 +203,8 @@ void * _xrealloc(const char * file, int if (x->size != size) { newptr = _xmalloc(file, line, size); + if (newptr == 0) + return 0; memcpy(newptr, ptr, x->size); _xfree(file, line, x); }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2