SHA256
1
0
forked from pool/nut
nut/nut-2.0.4-overflow.patch

34 lines
660 B
Diff
Raw Normal View History

--- drivers/newhidups.c
+++ drivers/newhidups.c
@@ -578,7 +578,7 @@
void upsdrv_initups(void)
{
- char *regex_array[5];
+ char *regex_array[6];
int r;
int i;
--- drivers/rhino.h
+++ drivers/rhino.h
@@ -59,7 +59,7 @@
/* data vetor from received and configuration data package - not used yet
unsigned char Dados[ 161 ]; */
/* identification group */
-char Model[12];
+char Model[15];
int RhinoModel; /*, imodel; */
int PotenciaNominal, PowerFactor;
/* input group */
--- drivers/tripplite_usb.c
+++ drivers/tripplite_usb.c
@@ -1038,7 +1038,7 @@
*/
void upsdrv_initups(void)
{
- char *regex_array[5];
+ char *regex_array[6];
int r;
#if 0