At 03:42 PM 3/19/2002 -0600, Chris Parker wrote:
>It looks like it's caused by the way FreeRADIUS is building the binary
>interpretation of the filter.
Turned out to actually be problem with 'attr_filter' module. :\
Here's the patch ( it will be in CVS shortly ):
*** rlm_attr_filter.c 2002/03/14 16:49:53 1.7
--- rlm_attr_filter.c 2002/03/19 23:55:13
*************** static int attr_filter_authorize(void *i
*** 300,308 ****
tmp->lvalue = check_item->lvalue;
break;
default:
! strNcpy((char *)tmp->strvalue,
(char *)check_item->strvalue,
! sizeof(tmp->strvalue));
tmp->length = check_item->length;
break;
}
--- 300,308 ----
tmp->lvalue = check_item->lvalue;
break;
default:
! memcpy((char *)tmp->strvalue,
(char *)check_item->strvalue,
! check_item->length);
tmp->length = check_item->length;
break;
}
-Chris
--
\\\|||/// \ StarNet Inc. \ Chris Parker
\ ~ ~ / \ WX *is* Wireless! \ Director, Engineering
| @ @ | \ http://www.starnetwx.net \ (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
\ Wholesale Internet Services - http://www.megapop.net
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html