]> git.ipfire.org Git - thirdparty/strongswan.git/commit
starter: Fail sending stroke message if a string exceeds the buffer size
authorMartin Willi <martin@revosec.ch>
Fri, 6 Feb 2015 15:37:09 +0000 (16:37 +0100)
committerMartin Willi <martin@revosec.ch>
Fri, 6 Feb 2015 15:44:27 +0000 (16:44 +0100)
commiteaa964b34e2086b4ab588f7f0438864f24bf204a
tree713894897d0b3e906d5e965e176fc479b497b0e3
parentb851f0a1051f8c50d5eb4cf45d4f03d96e3f3de4
starter: Fail sending stroke message if a string exceeds the buffer size

Instead of silently setting the string value to NULL, we fail completely in
sending the message to notify the user.

Fixes #844.
src/starter/starterstroke.c