Re: [PATCH v2] KEYS: DNS: limit the length of option strings
From: Eric Biggers <hidden>
Date: 2018-03-12 17:57:12
Also in:
keyrings
From: Eric Biggers <hidden>
Date: 2018-03-12 17:57:12
Also in:
keyrings
On Wed, Mar 07, 2018 at 03:54:37PM +0000, David Howells wrote:
Eric Biggers [off-list ref] wrote:quoted
Fix it by limiting option strings (combined name + value) to a much more reasonable 128 bytes. The exact limit is arbitrary, but currently the only recognized option is formatted as "dnserror=%lu" which fits well within this limit.There will be more options coming ("ipv4", "ipv6") but they shouldn't overrun this limit and we can always extend the limit if need be. David
David (Howells) do you want to take this patch through the keyrings tree or should I ask David Miller to take it through net-next? Eric