Skip to content
Snippets Groups Projects
  1. Feb 03, 2017
  2. Feb 02, 2017
  3. Feb 01, 2017
  4. Jan 31, 2017
  5. Jan 30, 2017
  6. Jan 29, 2017
    • Jake's avatar
      Restructured packet and command parsing · dc6c030e
      Jake authored
      Prepared for parsing the new data formats. Data isn't formatted
      or parsed yet, though.
      
      No more memory leaks! Unfortunately each memory leak was replaced
      by a potential buffer overflow. Basically, the code was riddled
      with functions that accept a char ** data, which
      is malloced and then formatted. This was then leaked.
      Now, it accepts a char * data, which is allocated on the stack
      by the calling function. However, there is no bounds checking,
      because that is slightly more involved.
      dc6c030e
    • Jake's avatar
      Compiling, but format is wrong · 3d03ba5a
      Jake authored
      See todos in format_command and parse_packet.
      3d03ba5a
Loading