Bug 156799 - Check return codes everywhere
Summary: Check return codes everywhere
Status: CLOSED NOT A BUG
Alias: None
Product: kdemultimedia
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-27 19:15 UTC by Markus Elfring
Modified: 2008-11-19 19:05 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-01-27 19:15:33 UTC
Version:            (using KDE 4.0.0)
Installed from:    SuSE RPMs

Some checks for return codes are missing.

Examples:
Would you like to add more error handling for return values from "pthread_mutex_lock" like in the function "cdda_fct_read" and from "strdup" in the function "wm_cd_init"?
http://websvn.kde.org/trunk/KDE/kdemultimedia/libkcompactdisc/wmlib/cdda.c?revision=756952&view=markup
http://websvn.kde.org/trunk/KDE/kdemultimedia/libkcompactdisc/wmlib/cdrom.c?revision=756913&view=markup
Comment 1 FiNeX 2008-11-19 18:24:04 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.