From: Andreas Schwab <schwab@linux-m68k.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: Re: master 3139551: Don’t attempt to modify constant strings
Date: Mon, 18 May 2020 09:03:31 +0200 [thread overview]
Message-ID: <87h7wdrags.fsf@igel.home> (raw)
In-Reply-To: <213ab8c4-dd38-19ef-bd8a-87855238df1a@cs.ucla.edu> (Paul Eggert's message of "Sun, 17 May 2020 16:16:56 -0700")
On Mai 17 2020, Paul Eggert wrote:
> That would run afoul of the whole idea of clearing the string in the first
> place, which was to avoid having one's password lying around in memory for a bad
> actor to grab it.
But doing it in the caller is equally bad.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
next prev parent reply other threads:[~2020-05-18 7:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200517052512.20679.37725@vcs0.savannah.gnu.org>
[not found] ` <20200517052513.C95BC20A2C@vcs0.savannah.gnu.org>
2020-05-17 11:22 ` master 3139551: Don’t attempt to modify constant strings Dmitry Gutov
2020-05-17 17:01 ` Paul Eggert
2020-05-17 11:24 ` Dmitry Gutov
2020-05-17 17:10 ` Paul Eggert
2020-05-17 18:02 ` Dmitry Gutov
2020-05-17 21:36 ` Paul Eggert
2020-05-17 21:54 ` Dmitry Gutov
2020-05-17 23:16 ` Paul Eggert
2020-05-17 23:24 ` Dmitry Gutov
2020-05-18 7:03 ` Andreas Schwab [this message]
2020-05-18 22:49 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7wdrags.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=dgutov@yandex.ru \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.