Bug 39736 - Gabble not enforcing avatar size restrictions
Summary: Gabble not enforcing avatar size restrictions
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium trivial
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
Depends on:
Reported: 2011-08-01 17:05 UTC by Tony McCourin
Modified: 2011-08-01 17:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Tony McCourin 2011-08-01 17:05:55 UTC
The avatar size restriction is in place but it is not enforced. This results in Gabble accounts disconnecting shortly after connecting whenever a too big avatar is set.
Comment 1 Robert McQueen 2011-08-01 17:08:32 UTC
Note this bug could (and perhaps, should) be fixed in two ways - in terms of checking the input to the SetAvatar method to return a useful error there, but also in terms of checking we're not sending jumbo stanzas which are nearly guaranteed to get us a <stream:error> back from the server and kill our connection, instead throwing a locally generated network error we might be able to recover from a little more gracefully?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.