Merge branch 'jx/cap-object-info-uninitialized-fix'
Correct use of an uninitialized structure member. * jx/cap-object-info-uninitialized-fix: object-info: init request_info before reading arg
This commit is contained in:
commit
714be4c3ac
@ -79,7 +79,7 @@ static void send_info(struct repository *r, struct packet_writer *writer,
|
|||||||
|
|
||||||
int cap_object_info(struct repository *r, struct packet_reader *request)
|
int cap_object_info(struct repository *r, struct packet_reader *request)
|
||||||
{
|
{
|
||||||
struct requested_info info;
|
struct requested_info info = { 0 };
|
||||||
struct packet_writer writer;
|
struct packet_writer writer;
|
||||||
struct string_list oid_str_list = STRING_LIST_INIT_DUP;
|
struct string_list oid_str_list = STRING_LIST_INIT_DUP;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user