Fix: Do not index buffer[] with negative index in case of read failure 28/190528/1
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 3 Oct 2018 09:29:30 +0000 (11:29 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 3 Oct 2018 09:29:39 +0000 (11:29 +0200)
commit7f46a77f84b58234616885af19255166b273a390
tree9b111779066d8083c9f47b4fc59d3532a99d6d48
parent6507ecd5e1e40d136c1272ce8b9b80fac82f4f67
Fix: Do not index buffer[] with negative index in case of read failure

Issue reported by Coverity.

Change-Id: Ie9cd66d2801770a096bb1849d11c860533508174
src/shared/util.c