Raghu wrote:

> So there is no way that Zero length EAP-packets are allowed.
> 
> Probably, I am overlooking.

I am suspecting that it is something to do with Byte Ordering.

Please let me know if the following patch fixes the
problem or not, as I am not able to simulate the problem.

-Raghu


--- eap.c       2002/01/22 21:45:08     1.4
+++ eap.c       2002/03/21 03:36:13
@@ -357,7 +357,7 @@
 int eap_wireformat(EAP_PACKET *reply)
 {
        eap_packet_t    *hdr;
-       int             total_length = 0;
+       unsigned short  total_length = 0;
 
        if (reply == NULL) return EAP_INVALID;

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to