unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: emacs user <user.emacs@gmail.com>
Cc: "Uday S. Reddy" <u.s.reddy@cs.bham.ac.uk>,
	cyd@stupidchicken.com, emacs-devel@gnu.org,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	7517@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: Re: bug#7517: 24.0.50; repeated crash under Mac OS X
Date: Fri, 31 Dec 2010 23:30:31 +0100	[thread overview]
Message-ID: <4D1E5987.2000502@swipnet.se> (raw)
In-Reply-To: <AANLkTi=JN3AjvyBcAC5uTi4pnyARnUkOO8U95vDiyWvY@mail.gmail.com>


On Fri, Dec 31, 2010 at 6:56 PM, Stefan Monnier
<monnier@iro.umontreal.ca>  wrote:
>> Emacs should never use unibyte strings for buffer names.
>
> I don't think we make any effort to prevent this from happening.
>
> And I'm not completely sure that it would be worth the trouble either:
> I suspect that wherever a unibyte buffer-name would cause problem
> (mode-line, window title, younameit), some other unibyte string could
> appear from elsewhere just as well, so enforcing multibyte buffer-names
> wouldn't close the vulnerabilities.

If we don't at least ENCODE_UTF_8 should do the right thing.  Is the coding 
for these kind of strings known?  If not and we don't enforce encoding in 
basic interfaces, we must deal with all existing encodings?

	Jan D.




  reply	other threads:[~2010-12-31 22:30 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTin-OjWynp7GOEPnSTKxf2PXH1+t6LWbmQBwCCFD@mail.gmail.com>
     [not found] ` <87tyic1uzh.fsf@stupidchicken.com>
     [not found]   ` <AANLkTinQHfFXazEbf+qxtz5+MfKcaXQLN18nPnyQMj8X@mail.gmail.com>
     [not found]     ` <AANLkTi=eou59qi2vgMZpWpcWy5xJfgkCKbYr-_LcqYDH@mail.gmail.com>
2010-12-29  4:29       ` bug#7517: 24.0.50; repeated crash under Mac OS X Chong Yidong
2010-12-29 11:59         ` Jan Djärv
2010-12-29 12:21           ` Jan Djärv
2010-12-29 15:41             ` Stefan Monnier
2010-12-29 16:06               ` emacs user
2010-12-30 11:35                 ` Jan Djärv
2010-12-30 14:20                   ` emacs user
2010-12-30 22:02                     ` Jan Djärv
2010-12-31  6:11                       ` emacs user
2010-12-31  6:12                       ` emacs user
2010-12-31  8:18                         ` Eli Zaretskii
2010-12-31 11:16                           ` emacs user
2010-12-31 10:49                         ` Jan Djärv
2010-12-31 11:23                           ` Jan Djärv
2010-12-31 11:26                             ` emacs user
2010-12-31 12:53                             ` Eli Zaretskii
2010-12-31 13:06                               ` emacs user
2010-12-31 13:18                                 ` Jan Djärv
2010-12-31 13:10                               ` Jan Djärv
2010-12-31 13:19                                 ` Eli Zaretskii
2010-12-31 14:22                                   ` Jan Djärv
2010-12-31 16:07                                     ` Eli Zaretskii
2010-12-31 16:09                                       ` emacs user
2010-12-31 18:57                                       ` Jan Djärv
2011-01-01  3:55                                         ` Stephen J. Turnbull
2010-12-31 16:56                                   ` Stefan Monnier
2010-12-31 17:42                                     ` emacs user
2010-12-31 22:30                                       ` Jan Djärv [this message]
2010-12-31 23:07                                         ` Stefan Monnier
2011-01-01 11:57                                           ` Eli Zaretskii
2011-01-01 12:46                                             ` emacs user
2011-01-01 15:40                                               ` Eli Zaretskii
2011-01-01 17:02                                                 ` Uday S Reddy
2011-01-01 18:08                                                   ` Eli Zaretskii
2011-01-01 18:34                                                 ` Jan D.
2011-01-02 14:02                                                   ` Chong Yidong
2011-01-03 21:34                                                     ` Jan Djärv
2011-01-01 17:22                                             ` Stefan Monnier
2011-01-01 18:07                                               ` Eli Zaretskii
2011-01-01 12:00                                         ` Eli Zaretskii
2011-01-01 17:11                                           ` Stefan Monnier
2011-01-01 18:06                                             ` Eli Zaretskii
     [not found]                                             ` <8362u8pkg6.fsf__47242.3368752517$1293906238$gmane$org@gnu.org>
2011-01-01 22:43                                               ` Uday S Reddy
2011-01-02  4:03                                                 ` Eli Zaretskii
2011-01-02 20:43                                                   ` Uday S Reddy
2011-01-02 22:06                                                     ` Jan Djärv
2011-01-03  4:59                                                       ` Uday S Reddy
2011-01-03  8:10                                                         ` emacs user
2011-01-02 22:08                                                     ` Eli Zaretskii
2011-01-03  4:50                                                       ` Uday S Reddy
2011-01-03 13:10                                                         ` Eli Zaretskii
2011-01-03 21:07                                                           ` Jan Djärv
2011-01-03  0:27                                                     ` Stefan Monnier
2010-12-31 12:52                           ` Eli Zaretskii
2010-12-31 13:16                             ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D1E5987.2000502@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=7517@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=u.s.reddy@cs.bham.ac.uk \
    --cc=user.emacs@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).