[Bug 410954] ksh segfaults when using read to fill an array element