Changeset 280686 in webkit
- Timestamp:
- Aug 5, 2021, 8:02:38 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/network/HTTPParsers.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r280681 r280686 1 2021-08-05 Rob Buis <rbuis@igalia.com> 2 3 Fix warning in HTTPParsers.parseStructuredFieldValue 4 https://bugs.webkit.org/show_bug.cgi?id=228815 5 6 Reviewed by Sam Weinig. 7 8 UChar is unsigned, so it is not needed to check that it is 9 zewro or greater. 10 11 * platform/network/HTTPParsers.cpp: 12 (WebCore::parseStructuredFieldValue): 13 1 14 2021-08-05 Imanol Fernandez <ifernandez@igalia.com> 2 15 -
trunk/Source/WebCore/platform/network/HTTPParsers.cpp
r280582 r280686 649 649 value = valueBuilder.toString(); 650 650 break; 651 } else if ( (header[index] >= 0x00 && header[index] <= 0x1F)|| (header[index] >= 0x7F && header[index] <= 0xFF)) // Not in VCHAR or SP.651 } else if (header[index] <= 0x1F || (header[index] >= 0x7F && header[index] <= 0xFF)) // Not in VCHAR or SP. 652 652 return std::nullopt; 653 653 else
Note:
See TracChangeset
for help on using the changeset viewer.