[Spice-devel] [PATCH spice] spicec: fix ASSERT to accept size == 0

Hans de Goede hdegoede at redhat.com
Wed Nov 24 01:11:41 PST 2010


p.p.s.

Don't forget to cherry pick patches which you want to see
in the next 0.6.x release (I will likely do a bugfix release
in the near future) into the 0.6 branch.

On 11/24/2010 10:10 AM, Hans de Goede wrote:
> Ack.
>
> p.s. Could you please review my "spicec: Don't show a white screen if guest resolution does not fit fullscreen" patch?
>
> Thanks,
>
> Hans
>
>
> On 11/24/2010 09:41 AM, Arnon Gilboa wrote:
>> which is useful when calling RedClient::on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0);
>> ---
>> client/red_client.cpp | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/client/red_client.cpp b/client/red_client.cpp
>> index 0fc4815..46d5602 100644
>> --- a/client/red_client.cpp
>> +++ b/client/red_client.cpp
>> @@ -888,7 +888,7 @@ void RedClient::on_clipboard_release()
>>
>> void RedClient::send_agent_clipboard_notify_message(uint32_t type, uint8_t *data, uint32_t size)
>> {
>> - ASSERT(size&& data);
>> + ASSERT(data || !size);
>> if (!_agent_connected) {
>> return;
>> }
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list