coverity#58283 patterns vs MAXPATHS
This commit is contained in:
parent
d36878b962
commit
8c5092e493
|
@ -1,3 +1,6 @@
|
|||
2014-09-18 Caolán McNamara <caolán at redhat dot com>:
|
||||
* coverity#58283 now 0 coverity warnings
|
||||
|
||||
2014-06-30 Rene Engelhard <rene at rene - engelhard dot de>:
|
||||
* add missing stdio.h to hyphen.h, reported by David Suárez
|
||||
in deb#753218.
|
||||
|
|
|
@ -202,7 +202,7 @@ int main(int argc, const char* argv[]) {
|
|||
pat[j]=0;
|
||||
pattab_key[patterns] = pat;
|
||||
pattab_val[patterns++] = org;
|
||||
if (patterns>MAXPATHS) die("to many base patterns");
|
||||
if (patterns>=MAXPATHS) die("to many base patterns");
|
||||
}
|
||||
}
|
||||
fclose(in);
|
||||
|
|
Loading…
Reference in New Issue