[Ecls-list] uninitialized ihs_frame object in call to ecl_cs_check
    Gabriel Dos Reis 
    gdr at cs.tamu.edu
       
    Thu Nov  6 09:02:28 UTC 2008
    
    
  
Hi Juanjo,
  I was investigating some obscure `segmentation fault' (on MAC OS) or
`stack over flow' (on x86) bug in a ECL-based OpenAxiom build, when I
got prompted to look into src/c/interpreter.d:ecl_interpret().  It looks
to me that given:
        struct ecl_stack_frame frame_aux;
        volatile struct ihs_frame ihs;
        ecl_cs_check(ihs);
the object `ihs' is never initialized before call to ecl_cs_check.
That looks to me like a serious bug.
-- Gaby
    
    
More information about the ecl-devel
mailing list