CVSROOT: /cvs Module name: src Changes by: [email protected] 2014/01/19 14:01:06
Modified files:
lib/libc/gen : getusershell.c
Log message:
Fix one more off-by-one (making it an off-by-two):
1. integer division can give an off-by-one (like 2/3 = 0 for calloc)
2. ending the shells array with NULL takes space, too
ok millert@
