]> git.ipfire.org Git - thirdparty/lldpd.git/commit
marshal: ensure we correctly handle signed result from serialization
authorVincent Bernat <vincent@bernat.im>
Wed, 3 Dec 2014 20:55:31 +0000 (21:55 +0100)
committerVincent Bernat <vincent@bernat.im>
Wed, 3 Dec 2014 21:00:28 +0000 (22:00 +0100)
commit324d73a32c0a14cacc7c95467370e9d32693a9ab
tree1cc9a583633f323b86de8941bc229d3edaf930c8
parent21832029366d53df9f74d04c6902fbf47ff682fc
marshal: ensure we correctly handle signed result from serialization

We must handle correctly `ssize_t`. Try to not cast this to another
type, let alone a non signed type.
src/daemon/client.c
src/daemon/lldpd.c