Segmentation fault when processing SNMP

Alan DeKok aland at
Tue Feb 6 11:08:12 CET 2007

Geoffroy Arnoud wrote:
> Sorry for sending too much messages but here gdb
> output with debug symbols

>     write_method=0xbfff956c) at radius_snmp.c:492
> 492                             if
> (strlen(c->shortname)) {

  That's what I suspected.  The shortname MUST be defined.  Add it to
the "clients.conf" file.

  But... it is a bug.  The code that creates the RADCLIENT structure
should ensure that the "shortname" field is initialized.  I'll go look
at that.

  Alan DeKok.
--       - The web site of the book - The blog

More information about the Freeradius-Devel mailing list