On Fri, 21 Apr 2017 18:16:48 +0200 =?UTF-8?Q?Bernhard_=c3=9cbelacker?=
<bernha...@mailbox.org> wrote:
[...]
> 
> I think this crash is caused by this part in LoadMapFile:
> 
>       char entityString[MAX_TOKEN_CHARS];
>       const char* ump = GetUMPName(filename);
>       if (ump != nullptr)
>               ParseUMP(ump, entityString, false);
> 
>       while (ParseMapEntity(filename, entityString));
> 
> If GetUMPName returns nullptr entityString gets not initialized and
> is used in ParseMapEntity.

[...]

Hi,

thank you very much for your analysis. I think you are right. I have
applied the patch and I can't reproduce the segfault anymore. I will
upload a new revision soon.

Regards,

Markus

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to