mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 576447: ^ means bitwise-xor, nothing else. r=dbaron
This commit is contained in:
parent
d1954b5c87
commit
86d78a4568
@ -324,7 +324,7 @@ nsHTMLFrameSetElement::ParseRowCol(const nsAString & aValue,
|
||||
|
||||
#define MAX_FRAMESET_SPEC_COUNT 100000
|
||||
// Count the commas. Don't count more than X commas (bug 576447).
|
||||
PR_STATIC_ASSERT(MAX_FRAMESET_SPEC_COUNT * sizeof(nsFramesetSpec) < 2^30);
|
||||
PR_STATIC_ASSERT(MAX_FRAMESET_SPEC_COUNT * sizeof(nsFramesetSpec) < (1 << 30));
|
||||
PRInt32 commaX = spec.FindChar(sComma);
|
||||
PRInt32 count = 1;
|
||||
while (commaX != kNotFound && count < MAX_FRAMESET_SPEC_COUNT) {
|
||||
|
Loading…
Reference in New Issue
Block a user