Skip to content

Fix invalid vdagent buffer access

Marc-André Lureau requested to merge elmarco/spice-common:fix-53 into master

The caller use the "size" argument in different ways. Either the size of the data to convert, or the end boundary to be deduced by offset.

Fix it so the the "size" argument means the amount in bytes of data to convert, that seems simpler and saner. (yay C)

Fixes: spice#53 (closed)

Signed-off-by: Marc-André Lureau marcandre.lureau@redhat.com

Edited by Marc-André Lureau

Merge request reports