unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Antipov <dmantipov@yandex.ru>
To: Glenn Morris <rgm@gnu.org>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: trunk r117870 -> emacs-24
Date: Mon, 15 Sep 2014 13:16:38 +0400	[thread overview]
Message-ID: <5416AE76.7060808@yandex.ru> (raw)

Please consider changes from trunk revision 117870 for emacs-24 branch.
Without that, the latter is not immune against the following crashes
(64-bit only):

;; crash - overflow in font_parse_family_registry
(defun oops0 ()
   (let* ((size 2200000000)
          (s (make-string size 97)))
     (aset s 0 42)
     (aset s 1000 45)
     (x-family-fonts s)))

;; crash - overflow in make_temp_name
(defun oops1 ()
   (make-temp-name (make-string 2200000000 97)))

Dmitry



             reply	other threads:[~2014-09-15  9:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-15  9:16 Dmitry Antipov [this message]
2014-09-15 12:58 ` trunk r117870 -> emacs-24 Stefan Monnier
2014-09-15 15:04   ` Eli Zaretskii
2014-09-15 19:10     ` Stefan Monnier
2014-09-15 19:47       ` 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=5416AE76.7060808@yandex.ru \
    --to=dmantipov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@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 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).