This could be fixed, but it's arguably a poorly-formed input to the function that rightly has undefined behavior. That's a function for something in argz format, which means it doesn't have an unterminated tail. Anyway, if you think this should be changed, report it to <bug-glibc@gnu.org>. All the argz_* functions are part of libc.