diff options
-rw-r--r-- | file.c | 3 | ||||
-rw-r--r-- | version.h | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -3456,9 +3456,10 @@ rmext(const char *p, long l0, long l1, const char *e) { long l2; - if (!e || !l2) return 0; + if (!e) return 0; l2 = strlen(e); + if (!l2) return 0; if (l2 == 2 && e[1] == '*') { unsigned char c = *e; e = p + l1; @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 251 +#define RUBY_PATCHLEVEL 252 #define RUBY_RELEASE_DATE "2012-07-04" #define RUBY_RELEASE_YEAR 2012 |