git: cpdup - Fix NULL pointer indirection on lost socket

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 6 08:36:04 PDT 2018


commit 8bf5b238b6869b07d32313f388d8d715ae7c284d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jun 6 08:34:43 2018 -0700

    cpdup - Fix NULL pointer indirection on lost socket
    
    * Fix a crash which can occur due to a lost socket.  Generate a
      nice error message and exit() instead.

Summary of changes:
 bin/cpdup/hclink.c  | 24 ++++++++++++------------
 bin/cpdup/hclink.h  |  2 +-
 bin/cpdup/hcproto.c | 16 +++++++++++-----
 3 files changed, 24 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8bf5b238b6869b07d32313f388d8d715ae7c284d


-- 
DragonFly BSD source repository



More information about the Commits mailing list