commit | b91013259fa806ad38acb02520b0a7091dd29f2a | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Fri Mar 15 20:09:26 2019 +0100 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Fri Mar 15 20:58:13 2019 +0100 |
tree | 794bef01d7df7215635906e5adee8f2d86e318b4 | |
parent | 0813db372b294b7789f506575b0ddb35173f809f [diff] |
openvpn: String returned from openvpn is not null-terminated wireshark shows strings returned by OpenVPN management interface as an aswer to "state" cmd contain no null character at the end. As a consequence, osmo_strlcpy cannot be used since it calls strlen() on the source. Probably previous implementation was harmless because we zero-fill msgb buffers prior to filling them. Change-Id: I4356dc08324a6d877c9e8112306570aabbf6e777