Re: [PATCH 6/6] config: reject parsing of files over INT_MAX
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 13, 2020, 22:14 UTC
- Message-ID
- <xmqqpncbav9g.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200413004724.GB55122@syl.local>
Taylor Blau <me@ttaylorr.com> writes:
> ;). Making it lower than INT_MAX moves us into the territory of deciding > what is an "appropriately" sized config file, which I'd rather not do. > At least we can blame INT_MAX if someone has a too-large config file.
;-) Sensible.