cpdup - Fix NULL pointer indirection on lost socket
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 6 Jun 2018 15:34:43 +0000 (08:34 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 6 Jun 2018 15:36:01 +0000 (08:36 -0700)
commit8bf5b238b6869b07d32313f388d8d715ae7c284d
tree2a91f6ac2663de586b91ce25c2e073b232616c38
parentefbd013239d66d591bfbc71ed58d36141e70b76c
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.
bin/cpdup/hclink.c
bin/cpdup/hclink.h
bin/cpdup/hcproto.c