• Jeffrey Lee's avatar
    Fix null pointer deference in List_Read · dcdf4da7
    Jeffrey Lee authored
    Detail:
      c/List - The code which initialises yfixed wasn't checking if ListHead.next was valid, leading to a null pointer derefence (and potentially nonsensical yfixed value) the first time the list is filled. Likewise, check whether ListHead.next is valid before attempting to set state.yscroll, in the offchance the list is still empty after we've filled it.
    Admin:
      Tested on BB-xM with high processor vectors
    
    
    Version 0.07. Tagged as 'Bootxxxx-0_07'
    dcdf4da7
List 58.9 KB