Summary: | Gabble crashes in File Transfer | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Alban Crequy <alban.crequy> |
Component: | gabble | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/cassidy/telepathy-gabble;a=shortlog;h=refs/heads/ft-fixes | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Alban Crequy
2009-09-13 10:35:41 UTC
- gabble_file_transfer_channel_provide_file() does not check the state of the channel (it only check it is an outgoing channel) - gabble_file_transfer_channel_accept_file() does not check the channel is ingoing and not outgoing (it only check it is pending channel) (In reply to comment #1) > - gabble_file_transfer_channel_provide_file() does not check the state of the > channel (it only check it is an outgoing channel) Looking at the code it checks: - if the channel is an outgoing one - if socket_address has already been defined. I'd say the only missing case is: - Alice offers a file to Bob - Bob declines the file offer - Alice calls ProvideFile - An error should be raised Do you agree? I added checks in http://git.collabora.co.uk/?p=user/cassidy/telepathy-gabble;a=shortlog;h=refs/heads/ft-fixes Merged to master and 0.8. |
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.