[Webkit-unassigned] [Bug 30502] Dereference of uninitialized variable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 18 23:55:30 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30502





--- Comment #3 from TAMURA, Kent <tkent at chromium.org>  2009-10-18 23:55:30 PDT ---
(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."

-- 
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