[openib-general] Re: [PATCH 09/12] SRP: Changing ibsrpdm

Roland Dreier rdreier at cisco.com
Tue May 2 12:51:17 PDT 2006


    Michael> Fine, but note that what Ishai did is also leak-proof.
    Michael> Since the size is constant SIZE_OF_QUERY_RESPONSE, what's
    Michael> the reason for playing tricks with alloca?

It's ugly to declare an array of uint8_t and then cast to void *.  And
I don't really consider alloca() to be a trick.  Anyway, I guess I'll
fix it up to get rid of that one alloca call.



More information about the general mailing list