Removed dead code in linebuffer_ctrl()
authorTomas Mraz <tomas@openssl.org>
Mon, 19 Apr 2021 13:34:59 +0000 (15:34 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 22 Apr 2021 14:45:57 +0000 (16:45 +0200)
commit59088414bc3b863a3dc287de76c53464bd7ff6fa
tree2aa3c391d223b8b0fbf55658f8a57ca462fde49d
parent6b2978406d050b910a889a33f7a0e14b1217976d
Removed dead code in linebuffer_ctrl()

Fixes Coverity CID 1476284

Also add possible number truncation check.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14928)
crypto/bio/bf_lbuf.c