--- libxslt-1.1.26/libxslt/pattern.c.orig 2012-07-03 10:07:47.903679049 -0700
+++ libxslt-1.1.26/libxslt/pattern.c 2012-07-03 10:08:43.621787188 -0700
@@ -1864,6 +1864,8 @@
while ((pattern[end] != 0) && (pattern[end] != '"'))
end++;
}
+ if (pattern[end] == 0)
+ break;
end++;
}
if (current == end) {