forked from enlightenment/efl
embyro-cc - fix coverity overruun issue
overrun in fatal msg access - fix CID 1039315
This commit is contained in:
parent
84e032a252
commit
970968daab
|
@ -80,6 +80,7 @@ error(int number, ...)
|
|||
}
|
||||
else if (number < 200)
|
||||
{
|
||||
if (number > 107) number = 107;
|
||||
msg = fatalmsg[number - 100];
|
||||
errnum++; /* a fatal error also counts as an error */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue