all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: master 3139551: Don’t attempt to modify constant strings
Date: Sun, 17 May 2020 14:36:36 -0700	[thread overview]
Message-ID: <02b0ee0f-c386-f51a-f8d2-ef338fcec1bc@cs.ucla.edu> (raw)
In-Reply-To: <d50e9ee3-d348-6b27-df73-a9e75b60fbe2@yandex.ru>

On 5/17/20 11:02 AM, Dmitry Gutov wrote:
> On 17.05.2020 20:10, Paul Eggert wrote:
>> Since there are so many ways that a password cache can be
>> cleared and clearing means the strings holding passwords need to be mutable,
> 
> Um, why?

It's done under the assumption that it makes Emacs more "secure".

> A cache normally doesn't mutate the values, it only holds on to them.

This cache mutates its values, unfortunately.



  reply	other threads:[~2020-05-17 21:36 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 [this message]
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
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=02b0ee0f-c386-f51a-f8d2-ef338fcec1bc@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=dgutov@yandex.ru \
    --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.