Re: FormatGuard

From: Horst von Brand (vonbrandat_private)
Date: Wed May 30 2001 - 04:16:51 PDT

  • Next message: Crispin Cowan: "Re: FormatGuard"

    James Antill <jamesat_private> said:
    
    [...]
    
    >  The number will possibly be low, but each incident will probably be
    > serious. I'm also not sure which version of gcc you're talking about,
    > I'd heard that people were trying to get something in for gcc-3.0 but
    > as far as I know it wouldn't be anything that would warn on one of the
    > following cases...
    > 
    > 1.
    > 
    > const char *tmp = /* blah */;
    > printf(tmp);
    
    This is a way printf(3) is rarely used.
    -- 
    
    Dr. Horst H. von Brand                       mailto:vonbrandat_private
    Departamento de Informatica                     Fono: +56 32 654431
    Universidad Tecnica Federico Santa Maria              +56 32 654239
    Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
    



    This archive was generated by hypermail 2b30 : Wed May 30 2001 - 09:52:19 PDT