1. 12 Nov, 2021 1 commit
    • Rosen Penev's avatar
      treewide: replace lock_guard with scoped_lock · 4e0e4c00
      Rosen Penev authored
      SonarLint reports the latter to be better:
      
      std::scoped_lock basically provides the same feature as std::lock_guard,
      but is more generic: It can lock several mutexes at the same time, with a
      deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code
      to perform simultaneous locking with std::lock_guard is significantly more
      complex. Therefore, it is simpler to use std::scoped_lock all the time,
      even when locking only one mutex (there will be no performance impact).
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      4e0e4c00
  2. 11 Nov, 2021 1 commit
  3. 13 Oct, 2021 1 commit
  4. 27 May, 2021 1 commit
  5. 04 Mar, 2021 5 commits
  6. 21 Jan, 2021 5 commits
  7. 01 Jan, 2021 1 commit
  8. 23 Jul, 2020 1 commit
  9. 30 May, 2020 1 commit
    • Max Kellermann's avatar
      lib/icu/Win32: paranoid-ify the buffer length checks · 99afe8e6
      Max Kellermann authored
      Passing `length+1` to `MultiByteToWideChar()` means the function may
      fill the whole buffer with output data, and could theoretically
      overwrite the null terminator.  In practice, this will never happen,
      but this way, it's slightly more correct.
      
      Also, null-terminate after `MultiByteToWideChar()`, after we got the
      real output length.  Again, this would never have been a problem, but
      who knows...
      99afe8e6
  10. 29 May, 2020 1 commit
  11. 26 May, 2020 1 commit
  12. 22 Apr, 2020 4 commits
  13. 03 Apr, 2020 6 commits
  14. 26 Mar, 2020 1 commit
  15. 12 Mar, 2020 2 commits
  16. 04 Feb, 2020 1 commit
  17. 18 Jan, 2020 1 commit
  18. 04 Nov, 2019 1 commit
  19. 07 Oct, 2019 1 commit
  20. 15 Aug, 2019 1 commit
  21. 03 Aug, 2019 1 commit
  22. 05 Jul, 2019 1 commit
  23. 17 Jun, 2019 1 commit