Taylor Blau <me@xxxxxxxxxxxx> writes: > I tried to match the behavior a few lines down in that function, where > we only call regexec() if value is non-NULL. Yes, that is exactly what made me question the code. With the current code, valueless true cannot be updated with "--value" restriction, ever, because it will never match anything. In any case, the patch is a strict improvement over the current code that segfaults. Making it aware of "--type=bool" and have it treat synonymous values of true/false properly would be better left as a follow-up topic. Thanks.