Fabio Massimo Di Nitto wrote: > The package was not released with woody. I am working right now to check sid.
What about the attached patch? Regards, Joey -- MIME - broken solution for a broken design. -- Ralf Baechle Please always Cc to me when replying to me on the lists.
--- mod_auth_radius.c~ 2003-03-24 20:16:15.000000000 +0100 +++ mod_auth_radius.c 2005-01-13 13:01:42.000000000 +0100 @@ -971,8 +971,11 @@ find_attribute(radius_packet_t *packet, } return attr; } -#define radcpy(STRING, ATTR) {memcpy(STRING, ATTR->data, ATTR->length - 2); \ - (STRING)[ATTR->length - 2] = 0;} +#define radcpy(STRING, ATTR) do { \ + unsigned char len = ATTR->length; \ + if (len >= 2) len-=2; \ + memcpy(STRING, ATTR->data, len); \ + (STRING)[len] = 0;} until (0) /* authentication module utility functions */