-
- Downloads
Remove buffered I/O stream usage in process_handle_t.
This patch removes the buffered I/O stream usage in process_handle_t and its related utility functions. This simplifies the code and avoids racy code where we used buffered I/O on non-blocking file descriptors. See: https://bugs.torproject.org/21654
Showing
- changes/bug21654 4 additions, 0 deletionschanges/bug21654
- src/common/util.c 33 additions, 67 deletionssrc/common/util.c
- src/common/util.h 4 additions, 7 deletionssrc/common/util.h
- src/test/test_pt.c 3 additions, 3 deletionssrc/test/test_pt.c
- src/test/test_util_slow.c 2 additions, 2 deletionssrc/test/test_util_slow.c
Loading
Please register or sign in to comment