title: Null pointer issue
body: <p>I am facing a MISRA C 2004 violation of rule 1.2 "likely use of null pointer. The code that I am using is as below:</p>
  
  <pre><code>tm_uint8* diagBuf = 0u;
  diagBuf[0] = diagBuf[0] + 0x40u; 
  diagBuf[2] = 0x01u;
  diagBuf[0] = diagBuf[0] + 0x40u;
  diagBuf[2] = 0x01u;
  </code></pre>
  
  <p>This is just a part of the code that is indicated above. some of  the statements have "IF" conditions.</p>
  
  <p>Can some one point out why I get the MISRA Violation.?</p>