Changeset 36692 in webkit


Ignore:
Timestamp:
Sep 19, 2008 6:22:19 PM (16 years ago)
Author:
alice.liu@apple.com
Message:

2008-09-19 Alice Liu <alice.liu@apple.com>

Fix crash when submitting form at bugreport.apple.com rdar://6234126

Reviewed by Mark Rowe.

  • COMPropertyBag.h: (::GetPropertyInfo): correct mis-use of comma operator
Location:
trunk/WebKit/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/win/COMPropertyBag.h

    r35944 r36692  
    195195    for (ULONG i = 0; i < iProperty; ++i, ++current)
    196196        ;
    197     for (ULONG j = 0; j < cProperties, current != end; ++j, ++current) {
     197    for (ULONG j = 0; j < cProperties && current != end; ++j, ++current) {
    198198        // FIXME: the following fields aren't filled in
    199199        //pPropBag[j].dwType;   // (DWORD) Type of property. This will be one of the PROPBAG2_TYPE values.
  • trunk/WebKit/win/ChangeLog

    r36652 r36692  
     12008-09-19  Alice Liu  <alice.liu@apple.com>
     2
     3        Fix crash when submitting form at bugreport.apple.com rdar://6234126
     4
     5        Reviewed by Mark Rowe.
     6
     7        * COMPropertyBag.h:
     8        (::GetPropertyInfo):
     9        correct mis-use of comma operator
     10
    1112008-09-18  Mark Rowe  <mrowe@apple.com>
    212
Note: See TracChangeset for help on using the changeset viewer.