openssl: biomem->data is not zero terminated
authorDaniel Stenberg <daniel@haxx.se>
Sat, 3 May 2014 22:50:10 +0000 (00:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 3 May 2014 22:50:10 +0000 (00:50 +0200)
commit21aafd09f6758352cf2d70cbe5cc8ea018354d63
tree30b731e75e24f9a28f61278ff5d4c567e44a0811
parent45c037a1278a0ab436f9aaaa22950f2e3758fdbd
openssl: biomem->data is not zero terminated

So printf(%s) on it or reading before bounds checking is wrong, fixing
it. Could previously lead to reading out of boundary.

Reported-by: Török Edwin
lib/vtls/openssl.c