Summary: | Null pointer dereference | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Tim Brown <kde> |
Component: | kjs | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | Keywords: | testcase |
Priority: | NOR | ||
Version: | 4.9.80 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdelibs/137c4d58664657bc9e11068dc1a0ff739f06b121 | Version Fixed In: | |
Attachments: | Test case |
Description
Tim Brown
2012-12-11 13:18:26 UTC
Created attachment 75845 [details]
Test case
Git commit 137c4d58664657bc9e11068dc1a0ff739f06b121 by Bernd Buschinski. Committed on 18/04/2013 at 14:31. Pushed by buschinski into branch 'master'. kjs: Don't crash in PopScope if PushScope already had an Exception and didn't Push anything As PushScope does not Push anything on Exception case, we can not Pop. NOTE: the Exception checking on Push/Pop-Scope is not optimal. Such a Situation, where PushScope already has a Exception can only occour if import is used inside the the "with"-statement. As import is executed at the beginning of the code (as val decl) and can leave a exception. As "import" is not (yet) part of ECMA-262 the correct behavior is unknown when this changes we can rework the bahavior, but for now just fix the crash. NOTE2: Using import can cause problems for other statements too, but should not lead to a crash REVIEW:110027 Related: bug 311512 M +10 -0 kjs/bytecode/codes.def http://commits.kde.org/kdelibs/137c4d58664657bc9e11068dc1a0ff739f06b121 |