Log Message: PR/52982: Eitan Adler: fix incorrect bounds computation. XXX: really we need to sync with the libc glob.c