Re: radrelay is showing segmentation fault [patch]

2002-08-13 Thread Simon
On Tue, Aug 13, 2002 at 11:49:56AM -0400, Alan DeKok wrote: > Simon <[EMAIL PROTECTED]> wrote: > > + if (!argv[1]) > > + usage(); > > + if (!strlen(argv[1])) > > + usage(); > > That's *very* bad, as it accesses memory which may not exist. It > would be better to check '

Re: radrelay is showing segmentation fault [patch]

2002-08-13 Thread Alan DeKok
Simon <[EMAIL PROTECTED]> wrote: > The segmentation fault otoh is a stupid bug by me. Patch included > against current cvs, some very minor documentation updates are included > to. Be good if this could be applied. Added, except for: > + if (!argv[1]) > + usage(); > + if (!

Re: radrelay is showing segmentation fault [patch]

2002-08-13 Thread Simon
On Mon, Aug 12, 2002 at 03:19:24PM +0530, Atanu Das wrote: > Hello FreeRadius Users, > > radrelay program is showing segmentation fault. I followed the procedure as >mentioned in the document of "radrelay" program. > > radrelay -n test > > Segmentation Fault Actually, you didn't follow the pr