<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 24, 2017 at 11:04 AM, Vitaly Buka <span dir="ltr"><<a href="mailto:vitalybuka@google.com" target="_blank">vitalybuka@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I just noticed that the patch contained?<span class=""><div><span style="font-size:12.8px">-static void nullDeref() { *(volatile int *)nullptr = 0; }</span><br style="font-size:12.8px"><span style="font-size:12.8px">+static void nullDeref() { *(volatile int *)0x10 = 0; }</span><br></div><div><span style="font-size:12.8px"><br></span></div></span><div><span style="font-size:12.8px">Why this was needed? Should I put it back?</span></div></div></blockquote><div><br></div><div>Yes, that is needed to avoid ubsan complaining about dereferencing null. </div></div></div></div>