[Webkit-unassigned] [Bug 104613] New: [WK2] Fix memory sampler for ARM Linux
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 10 16:48:57 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=104613
Summary: [WK2] Fix memory sampler for ARM Linux
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: laszlo.gombos at webkit.org
Building for ARM Linux gives the following error (e.g. on EFL port)
/webkit/Source/WebKit2/Shared/linux/WebMemorySamplerLinux.cpp: In function ‘WTF::String WebKit::nextToken(FILE*)’:
/webkit/Source/WebKit2/Shared/linux/WebMemorySamplerLinux.cpp:69:19: error: comparison is always false due to limited range of data type
The type "char" by default is signed on x86 and unsigned on ARM. On platforms where "char" is unsigned the value -1 (EOF) becomes 255 when stored in an unsigned char (variable ch in the code above). This can easily lead to an infinite loop because the end of the file cannot be recognized.
--
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