Skip to content
Snippets Groups Projects
  1. Aug 04, 2024
  2. Jul 23, 2024
  3. Jul 22, 2024
  4. Jul 21, 2024
  5. Jul 20, 2024
  6. Jul 17, 2024
    • Rob Swindell's avatar
      Allow time format to be set via modopts.ini [logonlist] time_fmt · bc10c82c
      Rob Swindell authored
      ... in strftime format (https://cplusplus.com/reference/ctime/strftime/)
      
      If you (sysop) have last_few_callers_fmt set to a custom value in your
      modopts.ini, you'll need to update that format as a result of this change:
      the number and type of arguments have now changed: instead of the logon
      time be passed as hours and minutes (integers), it's now passed as a single
      a string. That string is the result of a call to strftime() with the time_fmt
      or (by default), "%H:%M".
      
      This change was made to accommodate request by NeoArata (THEREALM)
      bc10c82c
  7. Jul 16, 2024
  8. Jul 12, 2024
  9. Jul 11, 2024
  10. Jul 10, 2024
  11. Jul 02, 2024
  12. Jun 30, 2024
  13. Jun 29, 2024
  14. Jun 27, 2024
  15. Jun 25, 2024
  16. Jun 23, 2024
  17. Jun 21, 2024
    • Rob Swindell's avatar
      Fix new small memory leak (no need to use strdup here) · 726a0852
      Rob Swindell authored
      Fix CID 497098
      726a0852
    • Rob Swindell's avatar
      Fix getnodedat() error handling and usage · e7642321
      Rob Swindell authored
      If a file descriptor is passed to getnodedat() and the lock retry counter was
      reached, the file would be closed, but the passed file descriptor reference
      would not be set to -1. This could result in exceptions (from subsequent read
      attempts on the referenced file descriptor) in cases where the node.dab could
      not be locked or read by getnodedat() and was thus closed.
      
      The set/get_node_* helper functions (used by MQTT) were not initializing the
      node.dab file descriptor (i.e. to -1), so it's possible getnodedat() could
      try to read from and close an invalid/wrong open file descriptor. If the local
      variable happened to be initialized to a value <= 0, then, no problem, but
      this is undefined behavior (UB).
      e7642321
Loading