unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* trunk r117870 -> emacs-24
@ 2014-09-15  9:16 Dmitry Antipov
  2014-09-15 12:58 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Antipov @ 2014-09-15  9:16 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs development discussions

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-15 19:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-15  9:16 trunk r117870 -> emacs-24 Dmitry Antipov
2014-09-15 12:58 ` Stefan Monnier
2014-09-15 15:04   ` Eli Zaretskii
2014-09-15 19:10     ` Stefan Monnier
2014-09-15 19:47       ` Eli Zaretskii

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).