Blame SOURCES/glibc-rh587360.patch

b40826
Index: glibc-2.11-382-g1cdb215/posix/regexec.c
b40826
===================================================================
b40826
--- glibc-2.11-382-g1cdb215.orig/posix/regexec.c
b40826
+++ glibc-2.11-382-g1cdb215/posix/regexec.c
b40826
@@ -4031,7 +4031,7 @@ find_collation_sequence_value (const uns
b40826
 	  /* Skip the collation sequence value.  */
b40826
 	  idx += sizeof (uint32_t);
b40826
 	  /* Skip the wide char sequence of the collating element.  */
b40826
-	  idx = idx + sizeof (uint32_t) * (extra[idx] + 1);
b40826
+	  idx = idx + sizeof (uint32_t) * (*(int32_t *) (extra + idx) + 1);
b40826
 	  /* If we found the entry, return the sequence value.  */
b40826
 	  if (found)
b40826
 	    return *(uint32_t *) (extra + idx);