if (Stream_GetRemainingLength(s) < 12)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 12)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < (pdu.monitorCount * 20))
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 2)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 2)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < (size_t) (pdu.importedEntriesCount * 2))
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 7)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 2)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 8)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 4)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 17)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (pdu.bitmapDataLength > Stream_GetRemainingLength(s))
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 13)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 6)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 8)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < (size_t) (pdu.fillRectCount * 8))
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 14)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < (size_t) (pdu.destPtsCount * 4))
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 20)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 6)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < (size_t) (pdu.destPtsCount * 4))
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 12)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}
if (Stream_GetRemainingLength(s) < 18)
{
- WLog_ERR(TAG, "not enought data!");
+ WLog_ERR(TAG, "not enough data!");
return ERROR_INVALID_DATA;
}