Reviewed by Kevin.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jan 2005 03:24:00 +0000 (03:24 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jan 2005 03:24:00 +0000 (03:24 +0000)
commit81e11bad0da4c7f53839f41e9b4e3391fcf43a6c
tree7cee89dbd1e71ecdffa5b255ecd040eeea62ce40
parent27111855e51e2436511fea678f6bac116457a58a
    Reviewed by Kevin.

<rdar://problem/3935390> Tiger 8A341: nil deref crash in DOM::NodeImpl::traverseNextNode

* khtml/html/html_miscimpl.cpp:
        (HTMLCollectionImpl::traverseNextItem): Assert that the starting point is not nil,
it should not ever be (now).
        (HTMLCollectionImpl::item): When traversing items stop when we hit
nil, meaning the end to avoid triggering above assert (formerly crash).

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