mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
src/zapit/src/fastscan.cpp avoid out of bounds
This commit is contained in:
@@ -293,7 +293,7 @@ _err:
|
||||
|
||||
bool CServiceScan::ReadFstVersion(int num)
|
||||
{
|
||||
if(num >= OPERATOR_MAX) {
|
||||
if(num >= OPERATOR_MAX || num < 0) {
|
||||
printf("[fast scan] invalid operator %d\n", num);
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user