libdhcpcd: Limit messages to SSIZE_MAX
authorRoy Marples <roy@marples.name>
Wed, 11 Dec 2019 12:27:51 +0000 (12:27 +0000)
committerRoy Marples <roy@marples.name>
Wed, 11 Dec 2019 12:27:51 +0000 (12:27 +0000)
commit0b8924c666f3dddb18cd7028e55573bb8671a0f8
tree5b9288feaf54b7580f552a4573560d4332881db1
parentcd3be7d3759ca55afd11635c87f618fe4da5e749
libdhcpcd: Limit messages to SSIZE_MAX

We need to add one to it for allocation to terminate it and
this is a stupidly big string anyway.

Found by LGMT.
src/libdhcpcd/dhcpcd.c