-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Schulze wrote:
| 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
|
|
|
| ------------------------------------------------------------------------
|
| --- 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 */

I did talk with upstream that is working on a fix and will release soon.

The patch looks ok, but i am going to give one or two days to upstream
before going with this fix.

Thanks
Fabio

- --
Self-Service law:
The last available dish of the food you have decided to eat, will be
inevitably taken from the person in front of you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB5pj4hCzbekR3nhgRAhkcAJ9MwDSSoUZSrks7aDIr9d0eVTKIJgCgkOkg
FUGMSXeh6IcD2k7yCi0YgEk=
=iRx+
-----END PGP SIGNATURE-----


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to