Our split2argv will already abort on excessive or zero
arguments, and it's impossible to for a `size_t' to evaluate to
a negative value, anyways. While we're at it, explain it's
safe to cast its return value to a signed int (typically
32-bit) since `req.argv' is a relatively small fixed value.
continue;
if (req.fp[1])
stderr_set(req.fp[1]);
+
+ // MY_ARG_MAX limits the return value of SPLIT2ARGV
req.argc = (int)SPLIT2ARGV(req.argv, rbuf, len);
dispatch(&req);
ERR_CLOSE(req.fp[0], 0);
if (asize < est) ABORT("too many entries: %zu", est);
drt.entries = (char **)xcalloc(asize, sizeof(char *));
size_t tot = split2argv(drt.entries, (char *)drt.mm_ptr, size, asize);
- if (tot <= 0) return false; // split2argv already warned on error
drt.root2id = root2id_init();
root2id_cm_resize(drt.root2id, est);
for (size_t i = 0; i < tot; ) {