Pelles C forum

Pelles C => Bug reports => Topic started by: iZzz32 on October 26, 2011, 01:17:31 PM

Title: Buffer overflow in pocc.exe
Post by: iZzz32 on October 26, 2011, 01:17:31 PM
When pocc.exe v6.50.35 (from Pelles C 6.50.8 RC 4) prints a very long (about 500 characters) warning it dies with an internal compiler error caused by a buffer overflow. I've accidentialy found this when experimenting with macros.

This code (http://pastebin.com/1FR4aH8u) might work on 32-bit XP SP3.

Upd: 7.00 RC 1 still has this bug.
Title: Re: Buffer overflow in pocc.exe
Post by: iZzz32 on April 22, 2012, 09:59:16 PM
Up.
Quote from: Pelles C 7.00 RC2X:\tmp\ddasda\1.c(15): fatal error: Internal error: 'Access violation' at 0x0167fc14.