Skip to content
Snippets Groups Projects
  1. Oct 25, 2018
    • rswindell's avatar
      Work-around race condition causing NULL-pointer dereference: · d3b4fd09
      rswindell authored
      telnet_input_thread() is started before cterm_init() is called, so the
      global "cterm" pointer was (sometimes) NULL at the time that the input
      thread received a "do termina-type" request, and telnet_interpret would
      dereference cterm (to get the emulation type) and thus crash. This is
      an inelegant solution which halts the telnet_input_thread() until the
      cterm pointer has been initialized. Also, be sure to reset cterm to
      NULL after calling cterm_end() which free's it. This fixes the problem of
      the telnet_input_thread() potentially using a stale (free'd) copy of cterm
      for the terminal-type response on subsequent connects.
      d3b4fd09
    • rswindell's avatar
      Added getuserdat() error checking with a search/replace macro. Now if · e4af92b9
      rswindell authored
      you run uedit and don't have access to the user.dat file, it will report
      an error rather than displaying a user with uninitialized values.
      e4af92b9
  2. Oct 24, 2018
  3. Oct 23, 2018
  4. Oct 22, 2018
  5. Oct 21, 2018
  6. Oct 20, 2018
Loading