[En-Nut-Discussion] Bug #1799374: NutRegisterCgi() Parameter 1

Nathan Moore nategoose at gmail.com
Tue Apr 1 18:48:17 CEST 2008


>
> For what I understand, only the pointer is put on the stack I never
> heard of a compiler that creates temporary strings in the stack!!!
>

int function(char * cp) {
   char str[] = "OMG Ponies!"
   if ( cp == str ) {
       return 9;
   }
   return 1+function(str);
}
/* what happens? */

Nathan



More information about the En-Nut-Discussion mailing list