stroke: Ensure the buffer of strings in a stroke_msg_t is null-terminated
authorTobias Brunner <tobias@strongswan.org>
Fri, 29 Nov 2013 16:42:11 +0000 (17:42 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 23 Jan 2014 09:15:07 +0000 (10:15 +0100)
commitf44b1eb4447085cff350bcd89dbcd080347b91f8
tree61aa5f63660d3ffd8e79a89edb9fbbba0bbb58a0
parent5ab03863b0b5558cf29c2386839c379506edd779
stroke: Ensure the buffer of strings in a stroke_msg_t is null-terminated

Otherwise a malicious user could send an unterminated string to cause
unterminated reads.
src/libcharon/plugins/stroke/stroke_socket.c