Bug 157213

Summary: Check return codes everywhere
Product: [Applications] kdepim Reporter: Markus Elfring <Markus.Elfring>
Component: libkpgpAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED NOT A BUG    
Severity: normal CC: finex
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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.