Skip to content
Snippets Groups Projects
  1. Oct 29, 2022
    • Rob Swindell's avatar
      DLL-Exported more userdat functions, added newuserdefaults() · 8a559f6d
      Rob Swindell authored
      putuserdatetime() needed to take a time32_t argument to be compatible with
      Borland C++ Builder. Eventually, when we stop using that tool, we can move
      to just 64-bit time_t's everywhere.
      
      parseuserdat() now accepts and optional array of field pointers to populate
      for each user field (for use with the new UserEditor.exe).
      8a559f6d
  2. Oct 26, 2022
  3. Oct 24, 2022
  4. Oct 23, 2022
  5. Oct 22, 2022
    • Rob Swindell's avatar
      bc1c0802
    • Rob Swindell's avatar
      Fix CID 319174 (Out-of-bounds write) correctly · e2098e8c
      Rob Swindell authored
      This Coverity reported issue was previously resolved (incorrectly) with
      commit d02fc1a2 which also introduced a bug that ate all the unexpected
      cursor position report characters (causing issue #304).
      
      The correct fix was to compare the response length against the buffer size
      minus one, to leave room for the NUL terminator.
      
      While fixing this and issue #304, I noticed that this function was using the
      response length ('rsp') as both the state machine state and string length,
      which didn't work right if a nearly-matching report/response was received:
      the x/y values would have been stripped from the response before stuffing
      in the keyboard input buffer. So a bit of a refactor here using a proper
      state machine variable.
      e2098e8c
  6. Oct 21, 2022
  7. Oct 20, 2022
  8. Oct 19, 2022
  9. Oct 18, 2022
  10. Oct 15, 2022
  11. Oct 14, 2022
Loading