Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
xorg-x11-driver-input
evdev-overflow.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File evdev-overflow.diff of Package xorg-x11-driver-input
diff -p -u -r ../xf86-input-evdev-1.1.3.orig/src/evdev.c ./src/evdev.c --- ../xf86-input-evdev-1.1.3.orig/src/evdev.c 2006-10-26 13:12:28.000000000 +0200 +++ ./src/evdev.c 2006-10-26 13:12:50.000000000 +0200 @@ -259,9 +259,7 @@ EvdevNew(evdevDriverPtr driver, evdevDev return 0; /* Initialise the InputInfoRec. */ - strncat (name, driver->dev->identifier, sizeof(name)); - strncat (name, "-", sizeof(name)); - strncat (name, device->phys, sizeof(name)); + snprintf(name, sizeof(name), "%s-%s", driver->dev->identifier, device->phys); pInfo->name = xstrdup(name); pInfo->flags = 0; pInfo->type_name = "UNKNOWN";
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