Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
libosip2
0001-Patch-1-Fixes-heap-buffer-overflow-in-_osi...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Patch-1-Fixes-heap-buffer-overflow-in-_osip_message_to_str.patch of Package libosip2
--- src/osipparser2/osip_message_to_str.c 2016-06-08 12:43:06.932508602 +0000 +++ src/osipparser2/osip_message_to_str_new.c 2016-06-08 12:59:58.924486896 +0000 @@ -378,6 +378,13 @@ /* A start-line isn't required for message/sipfrag parts. */ } else { + size_t message_len = strlen(tmp); + if (_osip_message_realloc (&message, dest, message_len + 3, &malloc_size) < 0) { + osip_free (tmp); + *dest = NULL; + return OSIP_NOMEM; + } + message = osip_str_append (message, tmp); osip_free (tmp); message = osip_strn_append (message, CRLF, 2);
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