D29810: Don't use setenv after fork
Jiří Paleček
noreply at phabricator.kde.org
Mon May 18 00:01:19 BST 2020
jpalecek added inline comments.
INLINE COMMENTS
> anthonyfieroni wrote in kcrash.cpp:825
> Just use vector, get the size by `environ_end - environ`
No, that would be dynamic allocation, which is not safe in signal handlers. The whole purpose was to avoid it.
REPOSITORY
R285 KCrash
REVISION DETAIL
https://phabricator.kde.org/D29810
To: jpalecek, #frameworks
Cc: anthonyfieroni, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200517/fb033354/attachment.htm>
More information about the Kde-frameworks-devel
mailing list