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