Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
sane-backends
fix-buffer-overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-buffer-overflow.patch of Package sane-backends
--- backend/niash.c.orig 2006-02-04 12:34:28.000000000 +0100 +++ backend/niash.c 2007-02-21 15:38:12.000000000 +0100 @@ -89,7 +89,9 @@ typedef enum optLamp, optCalibrate, - optGamma /* analog gamma = single number */ + optGamma, /* analog gamma = single number */ +/* have optEndOfList only to define arrays with sufficient size */ + optEndOfList } EOptionIndex; @@ -105,8 +107,8 @@ typedef union typedef struct { - SANE_Option_Descriptor aOptions[optLast]; - TOptionValue aValues[optLast]; + SANE_Option_Descriptor aOptions[optEndOfList]; + TOptionValue aValues[optEndOfList]; TScanParams ScanParams; THWParams HWParams;
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