common: Avoid undefined behavior.
authorJustus Winter <justus@g10code.com>
Thu, 19 Nov 2015 15:13:55 +0000 (16:13 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 19 Nov 2015 15:13:55 +0000 (16:13 +0100)
commiteb957ffc4797fb019c505510295af244baf5be38
treef8ff62f0c74d6c3e62442938328e81c6b71f5b42
parent52f7f195b119dc01bdf3ae200fdc8e04a0bb9bcb
common: Avoid undefined behavior.

* common/iobuf.c (iobuf_esopen): Initialize 'len' as 'file_es_filter'
will make use of it.
--
Found using the Clang Static Analyzer.

Signed-off-by: Justus Winter <justus@g10code.com>
common/iobuf.c