Re: [PATCH 7/9] Simplify string_escape_mem

2019-09-05 Thread Kees Cook
On Thu, Sep 05, 2019 at 03:44:31PM -0400, J. Bruce Fields wrote: > From: "J. Bruce Fields" > > string_escape_mem is harder to use than necessary: > > - ESCAPE_NP sounds like it means "escape nonprinting > characters", but actually means "do not escape printing >

[PATCH 7/9] Simplify string_escape_mem

2019-09-05 Thread J. Bruce Fields
From: "J. Bruce Fields" string_escape_mem is harder to use than necessary: - ESCAPE_NP sounds like it means "escape nonprinting characters", but actually means "do not escape printing characters" - the use of the "only" string to limit the list of escaped