public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>,
	libc-alpha@sourceware.org
Subject: Re: [PATCH 1/3] posix: Remove dynamic memory allocation from execl{e,p}
Date: Fri, 26 Feb 2016 20:13:00 -0000	[thread overview]
Message-ID: <56D0B099.4080205@cs.ucla.edu> (raw)
In-Reply-To: <56D0AA3A.9020207@linaro.org>

On 02/26/2016 11:40 AM, Adhemerval Zanella wrote:
> Indeed, but afaik this code won't execute if argc == INT_MAX (the argument
> sanity check will make the function with E2BIG).

No, because we add 1 to argc after testing that it is not INT_MAX. So 
argc can equal INT_MAX after that.

  reply	other threads:[~2016-02-26 20:07 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26 13:57 [PATCH 0/3] posix: Execute file function fixes Adhemerval Zanella
2016-02-26 13:57 ` [PATCH 2/3] posix: execvpe cleanup Adhemerval Zanella
2016-02-26 19:40   ` Paul Eggert
2016-02-26 22:22     ` Adhemerval Zanella
2016-02-27 23:18       ` Adhemerval Zanella
2016-02-28  3:31         ` Paul Eggert
2016-02-29 17:45           ` Adhemerval Zanella
2016-02-26 13:57 ` [PATCH 3/3] posix: New Linux posix_spawn{p} implementation Adhemerval Zanella
2016-02-26 17:33   ` Joseph Myers
2016-02-26 20:07     ` Adhemerval Zanella
2016-02-26 20:49   ` Paul Eggert
2016-02-26 23:47     ` Adhemerval Zanella
2016-02-28 16:41       ` Paul Eggert
2016-02-29 18:33         ` Adhemerval Zanella
2016-02-26 14:19 ` [PATCH 1/3] posix: Remove dynamic memory allocation from execl{e,p} Adhemerval Zanella
2016-02-26 19:11   ` Paul Eggert
2016-02-26 19:44     ` Adhemerval Zanella
2016-02-26 20:13       ` Paul Eggert [this message]
2016-02-26 20:18         ` Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2016-02-29 18:33 [PATCH v5 0/3] posix: Execute file function fixes Adhemerval Zanella
2016-02-29 18:34 ` [PATCH 1/3] posix: Remove dynamic memory allocation from execl{e,p} Adhemerval Zanella
2016-02-29 19:10   ` Paul Eggert
2016-02-29 19:35     ` Adhemerval Zanella
2016-02-22 13:03 [PATCH v3 0/3] posix: Execute file function fixes Adhemerval Zanella
2016-02-22 13:03 ` [PATCH 1/3] posix: Remove dynamic memory allocation from execl{e,p} Adhemerval Zanella
2016-02-25  8:58   ` Paul Eggert
2016-02-25 14:05     ` Adhemerval Zanella
2016-02-25 15:35       ` Zack Weinberg
2016-02-19 18:05 [PATCH v2 0/3] posix: Execute file function fixes Adhemerval Zanella
2016-02-19 18:05 ` [PATCH 1/3] posix: Remove dynamic memory allocation from execl{e,p} Adhemerval Zanella
2016-02-20  8:26   ` Mike Frysinger

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=56D0B099.4080205@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@sourceware.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.
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).