Bug 157213 - Check return codes everywhere
Summary: Check return codes everywhere
Status: CLOSED NOT A BUG
Alias: None
Product: kdepim
Classification: Applications
Component: libkpgp (show other bugs)
Version: 4.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-05 15:35 UTC by Markus Elfring
Modified: 2010-01-18 16:17 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 Markus Elfring 2008-02-05 15:35:06 UTC
Version:            (using KDE 3.5.8)
OS:                Linux

Some checks for return codes are missing.

Examples:
Would you like to add more error handling for return values from "pipe" like in the function "Base::run" and from "fwrite" in the function "Base::runGpg"?
http://websvn.kde.org/trunk/KDE/kdepim/libkpgp/kpgpbase.cpp?revision=695781&view=markup
Comment 1 Marc Mutz 2008-05-27 13:53:08 UTC
Move to libkpgp. Kleopatra doesn't use that library at all.
Comment 2 FiNeX 2008-11-19 18:24:07 UTC
Hi, this type of technical discussion should be done on various mailing lists where developers can elaborate and choose how to manage this development hints.

Thanks for your suggestions!

Regards.