fixed <rdar://problem/3482852>: oft-seen, non-repro, nil-deref in
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Dec 2003 19:33:46 +0000 (19:33 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Dec 2003 19:33:46 +0000 (19:33 +0000)
commit3c89acc4f3aa9b384ab36eb0f5d601be8ac02a05
treeee11fbcfe477d44562ab5243c7cfb2950a2681dc
parentcc5b31887a165678c1918d96dd24247c1132f2f4
    fixed <rdar://problem/3482852>: oft-seen, non-repro, nil-deref in
        HTMLTokenizer::notifyFinished (snapfish.com, etc.)

        At least one of the dupes of this bug is a separate (still reproducible) issue;
        I'll clone it back to life and test the others.

        Reviewed by Darin.

        * khtml/html/htmltokenizer.cpp:
        (HTMLTokenizer::notifyFinished):
        Move check of cachedScript.isEmpty() until after scriptExecution()
        call, because cachedScript.isEmpty() value can be changed by that call.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@5805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/html/htmltokenizer.cpp