Re: [Spice-devel] [PATCH] covscan: add comment on false-positive on g_memdup()

2019-08-27 Thread Uri Lublin
On 8/27/19 6:16 PM, Victor Toso wrote: From: Victor Toso Previous commit set last element of orig_argv array to NULL. That's redundant as g_memdup() uses memcpy() and it would do just that. Add a comment that the reason for this change is to workaround clang's warning. Suggested by Uri. Signed

[Spice-devel] [PATCH] covscan: add comment on false-positive on g_memdup()

2019-08-27 Thread Victor Toso
From: Victor Toso Previous commit set last element of orig_argv array to NULL. That's redundant as g_memdup() uses memcpy() and it would do just that. Add a comment that the reason for this change is to workaround clang's warning. Suggested by Uri. Signed-off-by: Victor Toso --- src/vdagent/vd