git: libstand - Don't allow the port# to underflow.

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 23 00:47:49 PST 2015


commit bee2633be9c5229802100649904b84013dcd6554
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 23 00:29:26 2015 -0800

    libstand - Don't allow the port# to underflow.
    
    * Recycle port numbers if our decrement would underflow a reasonable
      low port.

Summary of changes:
 lib/libstand/bootparam.c |  4 ++--
 lib/libstand/nfs.c       |  2 +-
 lib/libstand/rpc.c       | 10 +++++++++-
 lib/libstand/rpc.h       |  3 +--
 4 files changed, 13 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bee2633be9c5229802100649904b84013dcd6554


-- 
DragonFly BSD source repository



More information about the Commits mailing list