Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
s390-tools
s390-tools-sles11-tape390_display-stack_overwrite
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File s390-tools-sles11-tape390_display-stack_overwrite of Package s390-tools
Description: tape390_display: Fix stack overwrite Symptom: If <message2> in command tape390_display <message1> <message2> <node> contains 8 bytes, then *** stack smashing detected *** and additional backtrace information maybe displayed Problem: A '\0' is written beyond the scope of a character array Solution: Writing '\0' is redundant, because the underlying structure was initialized with 0 before. --- tape390/tape390_display.c | 1 - 1 files changed, 1 deletion(-) Index: s390-tools-sles11/tape390/tape390_display.c =================================================================== --- s390-tools-sles11.orig/tape390/tape390_display.c +++ s390-tools-sles11/tape390/tape390_display.c @@ -144,7 +144,6 @@ strchkcpy(char *tgt, const char *src) { warned = 1; } } - *(tgt+c) = '\0'; } int main(int argc, char *argv[]) {
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