aboutsummaryrefslogtreecommitdiff
path: root/ui/dbus-clipboard.c
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2023-10-17 16:38:55 -0400
committerJuan Quintela <quintela@redhat.com>2023-10-20 08:51:41 +0200
commit2c36076a1153e321e32a28b735f5c0fe70d8d10f (patch)
tree28cf94772fc20c05c5b80d0c36fc82ac281f0e69 /ui/dbus-clipboard.c
parentc8a7fc5179c649eed1d4286776a23e8a1a183cdc (diff)
migration: Fix parse_ramblock() on overwritten retvals
It's possible that some errors can be overwritten with success retval later on, and then ignored. Always capture all errors and report. Reported by Coverity 1522861, but actually I spot one more in the same function. Fixes: CID 1522861 Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231017203855.298260-1-peterx@redhat.com>
Diffstat (limited to 'ui/dbus-clipboard.c')
0 files changed, 0 insertions, 0 deletions