[Bug 30741] Does not properly validate UTF-8 received from the network.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 29 11:19:41 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=30741

Will Thompson <will.thompson at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Will Thompson <will.thompson at collabora.co.uk> ---
(In reply to comment #4)
> Seems fine. It took me a bit to realise this is fine:
> 
> + bytes -= valid_bytes + 1;
> 
> I'd probably have added brackets to make it more explicit, but that's just
> me.

I've bracketed both instances of "valid_bytes + 1".

> So without this patch running the test makes the daemon push idle off the
> bus or does it just not signal anything because it doesn't validate?

Idle gets kicked off the bus.

Merged as
http://cgit.freedesktop.org/telepathy/telepathy-idle/log/?id=79425a010af79070a6b93c25deb5690cc72daf87
.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list