Bug 133971 - Kopete transfers data even if it has no read access
Summary: Kopete transfers data even if it has no read access
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 17:13 UTC by Michael Helmling
Modified: 2008-07-09 22:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Helmling 2006-09-12 17:13:06 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Compiled From Sources
Compiler:          gcc-4.1 
OS:                Linux

If I send files via Jabber to a friend without having read access to that file, kopete transfers _some_ stuff, and exactly the same size as the file would be - I sent one of my friends a whole ISO-file of a 700MB disc and wondered why it worked even with the file belonging to root and 400 rights.
Transferring some more test files showed up that kopete sends some garbage data and not, as it should do, mention that I don't have read rights.
This happens with drag&drop from konqueror as well as with "Send File" option from the menu.
Comment 1 Josh Berry 2008-07-07 01:18:42 UTC
Reproduced in trunk r828808.

I tried sending myself my /etc/shadow, and got a file that was exactly the right length, but filled with 0-bytes.  There was no indication from Kopete that anything was amiss.
Comment 2 Alexander Rieder 2008-07-09 22:21:27 UTC
I fixed this bug in my commit 830119 but the bugtracker said, I don't have permission the to close bugs.
Comment 3 Josh Berry 2008-07-09 22:39:18 UTC
Marking as fixed due to Alex's commit r830119.