Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533992 - app-admin/logrotate - files/logrotate-*-atomic-create.patch uses mktemp instead of mkstemp - logrotate.c:373: warning: the use of `mktemp' is dangerous, better use `mkstemp'
Summary: app-admin/logrotate - files/logrotate-*-atomic-create.patch uses mktemp inste...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chema Alonso Josa (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-30 09:34 UTC by Jeroen Roovers (RETIRED)
Modified: 2015-03-01 11:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2014-12-30 09:34:15 UTC
Who is responsible for this patch?

logrotate.c:373: warning: the use of `mktemp' is dangerous, better use `mkstemp'
Comment 1 Chema Alonso Josa (RETIRED) gentoo-dev 2014-12-31 09:44:26 UTC
The patch appears in =app-admin/logrotate-3.7.9 to fix bug 356811.

I can't reproduce this message here. Which compiler option did you use?

I'll bump the package to fix the patch.

Thanks for reporting
Comment 2 Chema Alonso Josa (RETIRED) gentoo-dev 2015-03-01 11:07:12 UTC
Fixed in =app-admin/logrotate-3.8.9 by using mkostemp