The previous knot_map_errno was vulnerable to stack buffer undeflow if the input list was not terminated with a zero.