diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-18 23:03:25 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-20 10:24:01 +0900 |
| commit | a0f72fdc07e7a20ebd2712ce6fcdbb4704a54916 (patch) | |
| tree | 584d24412b4e4694782f18ff1580beef07586c09 /tdecore/network/knetworkinterface.h | |
| parent | 5cd98c1c66146f061886a6b9b7d48fc89e5ba92d (diff) | |
| download | tdelibs-r14.1.x.tar.gz tdelibs-r14.1.x.zip | |
Make 'TDEConfigINIBackEnd::parseSingleConfigFile' reentrant.r14.1.x
If a second call to 'TDEConfigINIBackEnd::parseSingleConfigFile' was called from
another thread while the first wasn't finished, it would have resulted
in a SEGV fault. Config files are usually small and mmap-ing files
does not provide meaningful benefits while instead introducing the
possibility of a SIGBUS fault, although extremely unlukely in real
life.
This resolves issue #379.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 884aff988556c5271eb829768b17d27052a08763)
Diffstat (limited to 'tdecore/network/knetworkinterface.h')
0 files changed, 0 insertions, 0 deletions
