<html>
<body>
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "EmailMessage",
  "potentialAction": {
    "@type": "ViewAction",
    "name": "View Issue",
    "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4187"
  },
  "description": ""
}
</script>

<div style="font-family: arial, sans-serif"><br/>Comment #2 on issue 4187 by <a href="mailto:kcc@google.com">kcc@google.com</a>: llvm/clang-proto-fuzzer: ASSERT: isa<X>(Val) && "cast<Ty>() argument of incompatible type!"<br/><a href="https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4187#c2">https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4187#c2</a><br/><br/>C reproducer (clang -c -O2):<br/><br/>void foo(int *a) {<br/>  while ((a[1] + (0))) {<br/>  }<br/>  while (1) {<br/>    if (1) {<br/>      a[0] = 1;<br/>      while (a[60]) {<br/>        while (a[0]) {<br/>          while ((a[1] + a[0])) {<br/>            a[0] = (1 + a[60]);<br/>          }<br/>          while (a[0]) {<br/>            while ((a[1] + a[0])) {<br/>              a[1] = 1;<br/>            }<br/>            while ((1 + a[0])) {<br/>              while ((a[1] + 1)) {<br/>                a[0] = 1;<br/>              }<br/>              while (a[0]) {<br/>                while (1) {<br/>                  while (a[0]) {<br/>                    while ((a[1] + a[0])) {<br/>                      a[0] = (1 + a[60]);<br/>                    }<br/>                    while (a[0]) {<br/>                      while ((a[1] + a[0])) {<br/>                        a[0] = (1 + a[60]);<br/>                      }<br/>                      while (1) {<br/>                        while (a[0]) {<br/>                        }<br/>                      }<br/>                    }<br/>                  }<br/>                }<br/>              }<br/>            }<br/>          }<br/>        }<br/>      }<br/>    } else {<br/>    }<br/>  }<br/>} <br/><br/><br/><br/>-- <br/>You received this message because:<br/>  1. You were specifically CC'd on the issue<br/><br/>You may adjust your notification preferences at:<br/><a href="https://bugs.chromium.org/hosting/settings">https://bugs.chromium.org/hosting/settings</a><br/><br/>Reply to this email to add a comment.</div>
</body>
</html>