Skip to content
  • Bill Lorensen's avatar
    BUG: Running past end of buffer and leak · 76f1697a
    Bill Lorensen authored
    ifstream::read does not terminate the buffer with null. The while loop
    was running past the end of the buffer. This patch appends a null
    before processing the string.
    
    The buffer was allocated but never freed.
    
    Change-Id: I9bedd7c7825424547ad4892d7ae2348ce0379d19
    76f1697a