diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-04-07 00:31:01 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-04-08 00:19:15 +0200 |
commit | d6f07e7e1bd0f736d67b1278c1d7ad9673633655 (patch) | |
tree | 33c8acb2fe2290b82192d70a91a8e8c50c390ce3 /src | |
parent | 08e91517e197c58430a6400c0b73d08e843ba296 (diff) | |
download | gnutls-d6f07e7e1bd0f736d67b1278c1d7ad9673633655.tar.gz |
properly null terminate string.
Diffstat (limited to 'src')
-rw-r--r-- | src/cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -915,6 +915,7 @@ after_handshake: continue; } + buffer[bytes] = 0; if (crlf != 0) { char *b = strchr (buffer, '\n'); |