WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11194
SpinneretWebHost doesn't set refcount properly
https://bugs.webkit.org/show_bug.cgi?id=11194
Summary
SpinneretWebHost doesn't set refcount properly
Krzysztof Kowalczyk
Reported
2006-10-06 13:53:15 PDT
SpinneretWebHost doesn't have a constructor and its m_refCount field is not set properly. You can verify this by setting a brakpoint in debug version in Spinerette.cpp at line ~187: gWebHost = new SpinneretWebHost(); <-- in debug here gWebHost->m_refCount is 0xcdcdcdcd, which means "uninitialized" gWebHost->AddRef(); No patch but the fix should be trivial: supply SpinneretWebHost::SpinneretWebHost() : m_refCount(0) {} (unless for some reason SpinneretWebHost is not supposed to have a constructor)
Attachments
Add attachment
proposed patch, testcase, etc.
Krzysztof Kowalczyk
Comment 1
2006-10-16 01:53:22 PDT
Has been fixed in another checkin.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug