Re: [PATCH] notes_merge_commit(): do not pass temporary buffer to other function
- From
Johan Herland <johan@herland.net>
- Date
- Sep 27, 2011, 07:12 UTC
- Message-ID
- <CALKQrgcO20am0nU7W=hmbMYVjjGi0-REB8=Xko5NtXjjG4UZag@mail.gmail.com>
- In-Reply-To
- <1317098813-30839-1-git-send-email-mhagger@alum.mit.edu>
On Tue, Sep 27, 2011 at 06:46, Michael Haggerty <mhagger@alum.mit.edu> wrote:
> It is unsafe to pass a temporary buffer as an argument to > read_directory(). > > Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
ACK.
...Johan
-- Johan Herland, <johan@herland.net> www.herland.net