mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed local crash
This commit is contained in:
parent
595f35b42e
commit
0e7b7e34a7
1 changed files with 1 additions and 1 deletions
|
@ -2751,7 +2751,7 @@ void COFF::ParseCompileUnit_Symbols(DbgCompileUnit* compileUnit, uint8* sectionD
|
||||||
|
|
||||||
bool isConst = false;
|
bool isConst = false;
|
||||||
int64 constVal = 0;
|
int64 constVal = 0;
|
||||||
if ((compileUnit->mLanguage == DbgLanguage_Beef) && (name[0] != '$'))
|
if ((compileUnit->mLanguage == DbgLanguage_Beef) && (name != NULL) && (name[0] != '$'))
|
||||||
{
|
{
|
||||||
for (char* cPtr = name + 1; true; cPtr++)
|
for (char* cPtr = name + 1; true; cPtr++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue