Re: [PATCH] debuginfod: sqlite3_sharedprefix_fn should not compare past end of string

2021-12-05 Thread Mark Wielaard
On Sat, Dec 04, 2021 at 05:54:07PM -0500, Frank Ch. Eigler wrote: > > gcc address sanitizer detected a read after the end of string in > > sqlite3_sharedprefix_fn. Make sure to stop comparing the strings when > > seeing the zero terminator. > > Yup, OK. Thanks, pushed. Mark

[PATCH] debuginfod: sqlite3_sharedprefix_fn should not compare past end of string

2021-12-04 Thread Mark Wielaard
gcc address sanitizer detected a read after the end of string in sqlite3_sharedprefix_fn. Make sure to stop comparing the strings when seeing the zero terminator. Signed-off-by: Mark Wielaard --- debuginfod/debuginfod.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debugi