Patch for memory leak in valuepair.c

Alan DeKok aland at
Mon Nov 8 17:21:14 CET 2010

James Ballantine wrote:
> When a VALUE_PAIR with the 'Fall-Through' attribute is skipped over in
> pairxlatmove(), 'tailfrom' is not updated. This means that the pair is
> orphaned if the subsequent pair is moved.
> (This is similar to the memory leak in valuepair.c fixed in 2.1.10, but
> in a different part of the loop. This patch is against the 2.1.x branch
> from git.)

  Fixed, thanks.

  Alan DeKok.

More information about the Freeradius-Devel mailing list