Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 90fc0225ff3420961c296bf972f111c598e23d03
      
https://github.com/WebKit/WebKit/commit/90fc0225ff3420961c296bf972f111c598e23d03
  Author: Ahmad Saleem <[email protected]>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp

  Log Message:
  -----------
  Check for non-finite values in 'isPointInPathInternal' and 
'isPointInStrokeInternal' functions

https://bugs.webkit.org/show_bug.cgi?id=250382
rdar://problem/104331898

Reviewed by Said Abou-Hallawa.

This patch introduces check for non-finite values in 'isPointInPathInternal' 
and 'isPointInStrokeInternal' functions
by returning false. This is also extended to 'transformedPoint' to have finite 
value by asserting above change.

* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(CanvasRenderingContext2DBase::isPointInPathInternal):
(CanvasRenderingContext2DBase::isPointInStrokeInternal):

Canonical link: https://commits.webkit.org/260946@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to