Ryan Lortie
a768953760
Fix bug in strinfo
...
We can't search for a larger needle inside of a smaller haystack, and
unsigned integer subtraction tends to result in very large numbers
rather than small ones.
Add a check for this case and abort out immediately.
Also add a test case (lifted directly from the docs) that demonstrates
the problem.
Issue discovered and tracked down by Milan Bouchet-Valat
2010-06-19 11:41:30 -04:00
..
2010-04-25 20:07:26 -05:00
2010-06-17 00:03:44 -04:00
2010-04-21 09:50:42 -04:00
2010-04-21 09:50:42 -04:00
2010-04-21 09:50:42 -04:00
2010-04-21 09:50:42 -04:00
2010-04-20 23:28:49 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-04-25 20:07:26 -05:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-04-25 20:07:26 -05:00
2010-06-17 00:03:44 -04:00
2010-04-25 20:07:26 -05:00
2010-04-25 20:07:26 -05:00
2010-04-21 00:43:55 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-19 11:41:30 -04:00
2010-04-20 23:28:49 -04:00
2010-06-07 10:18:43 +02:00
2010-04-20 23:28:49 -04:00
2010-04-20 23:28:49 -04:00
2010-04-20 23:28:49 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-06-17 00:03:44 -04:00
2010-04-25 20:07:26 -05:00
2010-04-25 20:07:26 -05:00
2010-06-17 00:03:44 -04:00
2010-04-25 20:07:26 -05:00
2010-06-17 00:03:44 -04:00
2010-04-20 23:28:49 -04:00