Since the IOSurfaceAlignProperty functions may align bytesPerRow and allocSize for reasons other than not allowing the values to be too large, bounds checking off of their returned values is not correct. This patch will remove those incorrect bounds checks.
Created attachment 76690 [details] Patch
Comment on attachment 76690 [details] Patch Which tests? On which platform?
Comment on attachment 76690 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=76690&action=review > WebCore/ChangeLog:8 > + No new tests added - many current canvas layout tests fail because of this incorrect bounds check. You should clarify that tests will only fail for those using this new functionality.
Yea, exactly. Only on my local build using this new functionality (IOSurfaces) are any of the usual tests failing. This patch will fix those - not any tests failing on the bots. This is now reflected in the changelog.
Committed r74148: <http://trac.webkit.org/changeset/74148>