-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed thread issues in oficonv code.
Fixed various thread issues in the oficonv module reported by Valgrind's DRD tool by moving some attributes that are modified during a call to OFiconv_open() from the structure that is shared between multiple iconv handles (struct _citrus_iconv_shared) to the structure containing the unique attributes of each handle (struct _citrus_iconv). Also added a read-write lock protecting accesses to the oficonv logger callback. Thanks to Mathieu Malaterre <[email protected]> for the bug report and test program demonstrating the issue. This closes DCMTK issue #1137.
- Loading branch information
1 parent
99dade3
commit b88017d
Showing
5 changed files
with
46 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters