[Webkit-unassigned] [Bug 55504] Use of uninitialized value in numeric lt (<) at Tools/Scripts/old-run-webkit-tests line 1778 seen on Qt bots after a crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 2 11:40:15 PST 2011


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


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #84423|review?                     |review+, commit-queue-
               Flag|                            |




--- Comment #9 from Joseph Pecoraro <joepeck at webkit.org>  2011-03-02 11:40:15 PST ---
(From update of attachment 84423)
View in context: https://bugs.webkit.org/attachment.cgi?id=84423&action=review

r=me with that fix! Thanks!

> Tools/Scripts/old-run-webkit-tests:1793
> +    return unless $#paths;

"$#paths" returns the last index in the array. So if there is 1 item, the last index will
be 0, and this might still bail. As you mentioned on IRC, an alternative to getting the
size of the array is "scalar(@paths)". That seems better.

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