lib/file: Avoid off-by-one error in array
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 19 Mar 2018 23:03:19 +0000 (10:03 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 23 Mar 2018 00:39:35 +0000 (11:39 +1100)
commitabf92c05c31955333719f1a83cffb0d0d194c770
treea9cdbc13d53d87696599672ff620ecb140b48aad
parentfc04325dd218a391112483b7536d10dc9697675f
lib/file: Avoid off-by-one error in array

Fixes Coverity defect CIDs 143606, 143610

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
lib/file/file.c