Re: [PATCH] Fix uninitialized memory in get_local_heads()
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Apr 20, 2009, 13:51 UTC
- Message-ID
- <76718490904200651t6cee0d73n8cbdea8099487654@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0904201219240.6955@intel-tinevez-2-302>
On Mon, Apr 20, 2009 at 6:20 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 9 quoted lines
> > In 454e202(move duplicated get_local_heads() to remote.c), a static > local variable was moved into a function, but not initialized. > > This resulted in a crash when trying to push from an empty repository. > > Noticed by Matthieu Moy. > > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Doh. Thank you for the fix.
j.