Fixed buffer overflow

This commit is contained in:
Silent 2016-03-12 14:18:24 +01:00
parent 737fa005c0
commit 63c6356db7

View file

@ -83,7 +83,7 @@ void CVehicle::SetComponentAtomicAlpha(RpAtomic* pAtomic, int nAlpha)
bool CVehicle::CustomCarPlate_TextureCreate(CVehicleModelInfo* pModelInfo)
{
char PlateText[8];
char PlateText[10];
const char* pOverrideText = pModelInfo->GetCustomCarPlateText();
if ( pOverrideText )