]> git.meshlink.io Git - meshlink/commit
Don't abort on empty lines in receive_request().
authorGuus Sliepen <guus@meshlink.io>
Fri, 6 Mar 2020 22:24:49 +0000 (23:24 +0100)
committerGuus Sliepen <guus@meshlink.io>
Fri, 6 Mar 2020 22:24:49 +0000 (23:24 +0100)
commit3bba8e95482de6f03d04dba4808e9add2071296b
treeb2a2204d1c8a676a268cb4eb3bc2b92d268d471a
parent3febbb4453f5c6b0286e7e3c68a5dbcec975b6fd
Don't abort on empty lines in receive_request().

Remove the assertion that lines are not empty, since this could lead to
a DoS attack. Empty lines are already handled correctly by the rest of
the logic in receive_request().
src/protocol.c