Re: [PATCH] factorize pack structure allocation
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- Jun 25, 2008, 07:19 UTC
- Message-ID
- <20080625071920.GA3307@mithlond.arda.local>
- In-Reply-To
- <alpine.LFD.1.10.0806241851420.2979@xanadu.home>
Nicolas Pitre wrote (2008-06-24 18:58 -0400):
Show 8 quoted lines
> New pack structures are currently allocated in 2 different places > and all members have to be initialized explicitly. This is prone > to errors leading to segmentation faults as found by Teemu Likonen. > > Let's have a common place where this structure is allocated, and have > all members implicitly initialized to zero. > > Signed-off-by: Nicolas Pitre <nico@cam.org>
Because of time zone issues I didn't get a chance to check this until now. This fixes the segfault issue for me. Thanks!