+2010-05-04 Andreas Schwab <schwab@redhat.com>
+
+ * posix/regexec.c (find_collation_sequence_value): Fix skipping
+ the wide char sequence of the collating element.
+
2010-05-03 Ulrich Drepper <drepper@redhat.com>
[BZ #11149]
/* Skip the collation sequence value. */
idx += sizeof (uint32_t);
/* Skip the wide char sequence of the collating element. */
- idx = idx + sizeof (uint32_t) * (extra[idx] + 1);
+ idx = idx + sizeof (uint32_t) * (*(int32_t *) (extra + idx) + 1);
/* If we found the entry, return the sequence value. */
if (found)
return *(uint32_t *) (extra + idx);