Bug 133971

Summary: Kopete transfers data even if it has no read access
Product: [Unmaintained] kopete Reporter: Michael Helmling <helmling>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: des
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.