 if ()
    ;
</textarea>
  hbtype = *p++;
  n2s(p, payload);
<textarea id="attempt1" rows="3" cols="60" spellcheck="false">
  if ()
    ;
</textarea>
  // ... Later on there will be a memory copy ("memcpy")
  // to copy the payload data into a new buffer. If we
  // had not checked, it would not be long enough:
  //   memcpy(bp, pl, payload);
</code></pre>
<button type="button" class="hintButton">Hint</button>
<button type="button" class="resetButton">Reset</button>
<button type="button" class="giveUpButton