[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Fix issue468 squeak3D 64bits crash (#469)

Nicolas Cellier notifications at github.com
Mon Jan 13 21:42:15 UTC 2020


This is an attempt at fixing https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/468
I have played a bit with Guardians without crash, but that's not a smoke test, I'm not good enough nor patient ;)
I don't remember performing that poorly on the ATARI 520 version of Sentinel game, but that's more than 30 years back ;)
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469

-- Commit Summary --

  * Fix the signature of b3dDrwBufferFunction
  * Protect against an integer overflow in b3dComputeIntersection
  * clamp initial scaledX/Y in int range
  * Avoid blitting at negative yValue offset

-- File Changes --

    M platforms/Cross/plugins/Squeak3D/b3d.h (8)
    M platforms/Cross/plugins/Squeak3D/b3dInit.c (5)
    M platforms/Cross/plugins/Squeak3D/b3dMain.c (7)

-- Patch Links --

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200113/80d5dfb2/attachment-0001.html>


More information about the Vm-dev mailing list