Skip to content
  1. Apr 26, 2024
  2. Apr 25, 2024
    • Carl Shapiro's avatar
      Fix the retry limit for resizing password entry buffer · 06958230
      Carl Shapiro authored
      The previous version checked that the buffer had not exceeded the
      limit of 1MiB after the buffer was resized.  In otherwords, the buffer
      is allowed to grow past the limit before the retry loop is exited.
      
      This change moves the check of the buffer size before the allocation
      occurs.  Now, the retry loop is exited before the buffer would grow
      past the limit.
      06958230
    • Carl Shapiro's avatar
      Fix an incorrect error check detected by the GCC analyzer · 57c9f9b7
      Carl Shapiro authored
      The return value of open(2) should be compared with -1 to check for an
      error but it was compared with 0 instead.
      57c9f9b7
    • Carl Shapiro's avatar
      Merge branch 'file-author' into 'master' · 7c91087e
      Carl Shapiro authored
      Fix a double free detected by the GCC analyzer
      
      See merge request !210
      7c91087e
    • Carl Shapiro's avatar
      Fix a double free detected by the GCC analyzer · 729fae26
      Carl Shapiro authored
      The obuffer variable contained a pointer to a block of memory freed by
      realloc(3) if the ERANGE case was executed more than once.  Afterward,
      if the 0 case executed, obuffer would be passed to free(3) causing a
      double free.
      
      This change sets the value of obuffer to buffer immediately after a
      successful call to realloc(3) ensure it is always NULL or a valid
      block of memory.
      729fae26
  3. Apr 22, 2024
  4. Apr 19, 2024
  5. Apr 11, 2024
  6. Apr 10, 2024
  7. Apr 09, 2024
  8. Apr 08, 2024
  9. Apr 07, 2024
  10. Apr 06, 2024
  11. Apr 02, 2024
  12. Mar 29, 2024