From: Paul Eggert <eggert@cs.ucla.edu>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: trunk r113804: * decompress.c: Fix bugs with large buffers and weird inputs.
Date: Tue, 13 Aug 2013 14:47:16 -0700 [thread overview]
Message-ID: <520AA964.7040203@cs.ucla.edu> (raw)
In-Reply-To: <m338qdsgsq.fsf@stories.gnus.org>
Lars Magne Ingebrigtsen wrote:
> What's with all the ptrdiff_t's when
> inflate only takes ints, anyway?
'inflate' takes unsigned ints, not ints.
Anyway, I tried rewriting the code along the line
you suggested. 'buffer_size' is not a good name,
though, as multiple buffers are in play here,
so I continued to call that constant 'avail_out'
by analogy with the zlib avail_out.
prev parent reply other threads:[~2013-08-13 21:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1V8elS-0003CG-7L@vcs.savannah.gnu.org>
2013-08-13 12:08 ` trunk r113804: * decompress.c: Fix bugs with large buffers and weird inputs Lars Magne Ingebrigtsen
2013-08-13 12:19 ` Andreas Schwab
2013-08-13 15:03 ` Paul Eggert
2013-08-13 15:10 ` Lars Magne Ingebrigtsen
2013-08-13 16:21 ` Lars Magne Ingebrigtsen
2013-08-13 21:47 ` Paul Eggert [this message]
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=520AA964.7040203@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.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.