Summary: | [improve] warning: the use of `mktemp' is dangerous, better use `mkstemp' | ||
---|---|---|---|
Product: | glibc | Reporter: | Jari Aalto <jari.aalto> |
Component: | libc | Assignee: | Dmitry V. Levin <ldv> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glebfm, glibc-bugs |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | 2.3.6 | ||
Target Milestone: | 2.23 | ||
URL: | https://sourceware.org/ml/libc-alpha/2015-08/msg00278.html | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Jari Aalto
2006-07-10 16:18:00 UTC
The man pages have nothing to do with glibc. Do whatever you want. I don't intend to change the message since if a programmer cannot figure out that mkdtemp should be used mentioning both functions will only further complicate things. If anything, it's an issue with the man pages. (In reply to Ulrich Drepper from comment #1) > If anything, it's an issue with the man pages. Fixed in http://git.kernel.org/cgit/docs/man-pages/man-pages.git/commit/?id=9b44ad2028b6ae5ede880314e87c8b976e69b19a I think it's time to reconsider this feature request. This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via 64d9cfd90e8f24815f5c99dc994ea0dacf773304 (commit) from fff289f358ee26bb4cdd70f72f4b1b0e1a7d07a1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=64d9cfd90e8f24815f5c99dc994ea0dacf773304 commit 64d9cfd90e8f24815f5c99dc994ea0dacf773304 Author: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> Date: Sun Aug 9 11:11:36 2015 +0200 Mention mkdtemp as another secure alternative to mktemp [BZ #2898] * misc/mktemp.c: Add mkdtemp to the link_warning message. Based on patch by Aurelien Jarno. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 ++++++ NEWS | 8 ++++---- misc/mktemp.c | 3 ++- 3 files changed, 12 insertions(+), 5 deletions(-) Fixed in master. |