control-socket name one character short
Alan DeKok
aland at deployingradius.com
Thu Oct 23 10:40:00 CEST 2008
John Dennis wrote:
> Also note in fr_domain_socket() the path is mem copied into struct
> sockaddr_un saremote but the error message uses the path directly. This
> is why the error show the correct path name but the connect call does
> not (because it's using saremote). Also observe when the path is copied
> into saremote the null terminator is not copied. I suspect this is the
> cause of the corruption of the path string in the saremote.sun_path
> field. sun_path should be null-terminated and the logic in
> fr_domain_socket needs to account for 1 extra byte for the null
> terminator in some fashion.
Ah, yes. The fix that went into the server side didn't go into
radmin. I'll do that now.
Alan DeKok.
More information about the Freeradius-Users
mailing list