'item->dst' has not been assigned if '!rhs' is true. As the caller is allowed
to pass in uninitialized
memory (we don't assume 'item' was zeroed out before calling), this fixes an
access to
uninitialized memory.
Signed-off-by: Stefan Beller
---
applies on bw/refspec-api
refspec.c | 2 +-
1 f
Stefan Beller writes:
> 'item->dst' has not been assigned if '!rhs' is true. As the caller is allowed
> to pass in uninitialized
> memory (we don't assume 'item' was zeroed out before calling), this fixes an
> access to
> uninitialized memory.
Did I miss the other 4 patches that this might dep
Junio C Hamano writes:
> Perhaps a better fisx is to explicitly assign NULL to item->dst when
> we see there is no right-hand-side.
-- >8 --
Subject: [PATCH] refspec-api: avoid uninitialized field in refspec item
When parse_refspec() function was created at 3eec3700 ("refspec:
factor out parsin
On Thu, May 31, 2018 at 7:46 PM, Junio C Hamano wrote:
> Junio C Hamano writes:
>
>> Perhaps a better fisx is to explicitly assign NULL to item->dst when
>> we see there is no right-hand-side.
>
> -- >8 --
> Subject: [PATCH] refspec-api: avoid uninitialized field in refspec item
>
> When parse_re
4 matches
Mail list logo