Fix segv for userids with a backslash.
* src/engine-gpg.c (gpg_keylist_preprocess): Increment SRC for a backslash. -- This bug is not exploitable because this bug fills up .data with backslashes and thus causes the segv. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
7dcb654281
commit
0d28a69616
@ -2194,6 +2194,7 @@ gpg_keylist_preprocess (char *line, char **r_line)
|
||||
{
|
||||
*dst++ = '\\';
|
||||
*dst++ = '\\';
|
||||
src++;
|
||||
}
|
||||
else
|
||||
*(dst++) = *(src++);
|
||||
|
Loading…
Reference in New Issue
Block a user