Re: server: Fix detection of duplicate console history lines. (v2)
28 Apr
2016
28 Apr
'16
12:24 p.m.
Sebastian Lackner <sebastian(a)fds-team.de> writes:
Signed-off-by: Sebastian Lackner <sebastian(a)fds-team.de> --- Changes in v2: * We can't really use memcmp because it could allow exploits with special input, like "abc\0def", where it would probably compare past the end of the string.
Note that you don't need special input, any comparison with a shorter string can potentially overrun. -- Alexandre Julliard julliard(a)winehq.org
3517
Age (days ago)
3517
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard