Calling radius_exec_program() with request set to NULL

Alan DeKok aland at deployingradius.com
Mon Apr 9 14:03:25 CEST 2018


On Apr 9, 2018, at 7:46 AM, Isaac Boukris <iboukris at gmail.com> wrote:
> 
> The comment above it suggests it should be possible to call
> 'radius_exec_program()' without a request (like at server
> instantiation):
> https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/src/main/exec.c#L516

  It's possible.  I'm not sure how useful it is.

> However, it currently doesn't even let me compile with a NULL request,
> due to nonull expectation.
> Would it make sense to fix it, and allow NULL request, or is there a
> way around it?

  What is it needed for?  I'd prefer to add patches because they're useful *now*, not useful some time in the future.

  Alan DeKok.




More information about the Freeradius-Users mailing list