diff options
Diffstat (limited to '')
-rw-r--r-- | lang/spidermonkey24/files/patch-bug894240 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lang/spidermonkey24/files/patch-bug894240 b/lang/spidermonkey24/files/patch-bug894240 deleted file mode 100644 index a805435382d0..000000000000 --- a/lang/spidermonkey24/files/patch-bug894240 +++ /dev/null @@ -1,20 +0,0 @@ -commit 19a4ba5c90a9 -Author: Mike Hommey <mh+mozilla@glandium.org> -Date: Wed Jul 17 16:16:55 2013 +0900 - - Bug 894240 - Fix pointer dereference in js::cli::OptionParser::extractValue. r=Waldo ---- - js/src/shell/jsoptparse.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- shell/jsoptparse.cpp.orig 2013-10-29 20:40:20 UTC -+++ shell/jsoptparse.cpp -@@ -253,7 +253,7 @@ OptionParser::extractValue(size_t argc, char **argv, s - char *eq = strchr(argv[*i], '='); - if (eq) { - *value = eq + 1; -- if (value[0] == '\0') -+ if (*value[0] == '\0') - return error("A value is required for option %.*s", eq - argv[*i], argv[*i]); - return Okay; - } |