[Webkit-unassigned] [Bug 30502] Dereference of uninitialized variable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 19 00:14:54 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30502
--- Comment #5 from Mark Rowe (bdash) <mrowe at apple.com> 2009-10-19 00:14:54 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > Wouldn’t it make more sense to initialize the variable at the level that it
> > matters? setBooleanAttribute doesn’t care about the exception code so there’s
> > no need for it to do anything with it. After your change the code in
> > removeAttribute will still do the wrong thing if called by another caller.
>
> I think our convention for ExceptionCode is "initialize it with 0 when it is
> declared.”
A quick grep in WebCore for “ExceptionCode ec;” shows that is not the case.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list