Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP1:Update
libgit2
0021-fix-slash-in-index-for-git_index_add.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0021-fix-slash-in-index-for-git_index_add.patch of Package libgit2
--- a/src/index.c.smb 2024-07-17 15:29:03.628819028 -0400 +++ b/src/index.c 2024-07-17 15:31:52.884990276 -0400 @@ -1114,10 +1114,13 @@ size_t len, pos; for (;;) { - if (*--slash == '/') - break; + slash--; + if (slash <= entry->path) return retval; + + if (*slash == '/') + break; } len = slash - name;
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