Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
raptor.17222
ubsan.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ubsan.patch of Package raptor.17222
--- src/raptor_rfc2396.c +++ src/raptor_rfc2396.c @@ -386,7 +386,7 @@ } - if(prev && s == (cur+2) && cur[0] == '.' && cur[1] == '.') { + if(prev && cur && s == (cur+2) && cur[0] == '.' && cur[1] == '.') { /* Remove <component>/.. at the end of the path */ *prev = '\0'; path_len -= (s-prev); --- src/raptor_uri.c +++ src/raptor_uri.c @@ -1336,9 +1336,9 @@ !strncmp((const char*)base_detail->scheme, (const char*)reference_detail->scheme, base_detail->scheme_len) && - !strncmp((const char*)base_detail->authority, + (base_detail->authority_len == 0 || !strncmp((const char*)base_detail->authority, (const char*)reference_detail->authority, - base_detail->authority_len)) { + base_detail->authority_len))) { if(!base_detail->path) { if(reference_detail->path) {
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