Menu

#149 MinGW option: check buffer overflow

Feature_Request
closed
nobody
MinGW (23)
5
2012-05-04
2012-05-04
INTERGVE
No

Hi,

I wanted to know if there were a MinGW option allowing to check a buffer overflow.
For example, I would like a warning with the following code:
int tab[10];
tab[20]=3;

I know that there is this option with in Visual C++ (/GS (Buffer Security Check)), but with MinGW?

Thanks,

Discussion

  • INTERGVE

    INTERGVE - 2012-05-04
    • milestone: --> Feature_Request
     
  • Earnie Boyd

    Earnie Boyd - 2012-05-04

    Please ask this question at mingw-users@lists.sourceforge.net.

     
  • Earnie Boyd

    Earnie Boyd - 2012-05-04
    • status: open --> closed