summaryrefslogtreecommitdiffstats
path: root/tdecore/network/kresolvermanager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-18 23:03:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-20 10:24:01 +0900
commita0f72fdc07e7a20ebd2712ce6fcdbb4704a54916 (patch)
tree584d24412b4e4694782f18ff1580beef07586c09 /tdecore/network/kresolvermanager.cpp
parent5cd98c1c66146f061886a6b9b7d48fc89e5ba92d (diff)
downloadtdelibs-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/kresolvermanager.cpp')
0 files changed, 0 insertions, 0 deletions