Subject: copyinstr() with a zero-length buffer To: None <email@example.com> From: Chuck Silvers <firstname.lastname@example.org> List: tech-kern Date: 11/02/1999 00:00:54
hi kernel folks,
here's a philosophical question for ya: is it legal to call copyinstr()
with maxlen == 0? the sparc will panic if this happens, but the sample
program in PR 7838 will cause sys_execve() to do just that.
so which is wrong?