Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
netatalk
netatalk-asingle-outofbounds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netatalk-asingle-outofbounds.patch of Package netatalk
Use correct member of forklen array. Bug 151539 - netatalk-2.0.3-6: 2 * array subscript out of range bin/megatron/asingle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/bin/megatron/asingle.c +++ b/bin/megatron/asingle.c @@ -310,9 +310,9 @@ int single_header_read( fh, version ) sizeof(fh->backup_date)); } if ( single.entry[ ADEID_RFORK ].ade_off == 0 ) { - fh->forklen[ ADEID_RFORK ] = 0; + fh->forklen[RESOURCE] = 0; } else { - fh->forklen[ ADEID_RFORK ] = + fh->forklen[RESOURCE] = htonl( single.entry[ ADEID_RFORK ].ade_len ); } if ( single.entry[ ADEID_DFORK ].ade_off == 0 ) {
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