1.
[fjmem.c:220]: (style) Array index 'idx' is used before limits check.
Source code is
while (dr->out->data[idx] && (idx < dr->out->len))
idx++;
Suggest sanity check array index before use.
2.
[fjmem.c:225]: (style) Array index 'idx' is used before limits check.
3.
[fjmem.c:230]: (style) Array index 'idx' is used before limits check.
Patches welcome