<p>This is an attempt at fixing <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="548307281" data-permission-text="Issue title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/468" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/468/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/468">#468</a><br>
I have played a bit with Guardians without crash, but that's not a smoke test, I'm not good enough nor patient ;)<br>
I don't remember performing that poorly on the ATARI 520 version of Sentinel game, but that's more than 30 years back ;)</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Fix the signature of b3dDrwBufferFunction</li>
  <li>Protect against an integer overflow in b3dComputeIntersection</li>
  <li>clamp initial scaledX/Y in int range</li>
  <li>Avoid blitting at negative yValue offset</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469/files#diff-0">platforms/Cross/plugins/Squeak3D/b3d.h</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469/files#diff-1">platforms/Cross/plugins/Squeak3D/b3dInit.c</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469/files#diff-2">platforms/Cross/plugins/Squeak3D/b3dMain.c</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469.patch'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469.patch</a></li>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469.diff'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469?email_source=notifications&email_token=AIJPEW5YYIKYLRAMMVRFUTLQ5TN3PA5CNFSM4KGJHYUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IF4DFGQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW2CNOTHETZW4VDAT5TQ5TN3PANCNFSM4KGJHYUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEWZKKQD6SNHYO2BD6CLQ5TN3PA5CNFSM4KGJHYUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IF4DFGQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469?email_source=notifications\u0026email_token=AIJPEW5YYIKYLRAMMVRFUTLQ5TN3PA5CNFSM4KGJHYUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IF4DFGQ",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/469?email_source=notifications\u0026email_token=AIJPEW5YYIKYLRAMMVRFUTLQ5TN3PA5CNFSM4KGJHYUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IF4DFGQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>