Skip to content
Snippets Groups Projects

Fix logging

Merged Zhao Zhili requested to merge quink/librist:fix-logging into master

Fix #98 (closed)

  1. volatile doesn't guarantee thread-safe, and there are time-of-check to time-of-use issue
  2. 0 is valid file descriptor value
  3. rist_get_global_logging_settings() has the TOCTOU problem
  4. use PTHREAD_MUTEX_INITIALIZER when available to avoid the overhead of pthread_once()
  5. fix memory leaks in error path
Edited by Zhao Zhili

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading