lpd: avoid SEGVing on immediate EOF from peer
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 7 Jun 2019 07:14:41 +0000 (09:14 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 7 Jun 2019 07:14:41 +0000 (09:14 +0200)
commited042010dc8f6e2a5e1f06db1123b7472bfbf377
tree5f45aab9c90babe8169046edaecc071ff5a8164c
parent45e3967c20b5020bf720b9497592e231104398f3
lpd: avoid SEGVing on immediate EOF from peer

Patch by Luís Marques <luismarques@lowrisc.org>

function                                             old     new   delta
lpd_main                                             749     757      +8

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
printutils/lpd.c