[GH-ISSUE #62] Completion of error handling #33

Closed
opened 2026-05-05 04:48:54 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @elfring on GitHub (Sep 11, 2015).
Original GitHub issue: https://github.com/netblue30/firejail/issues/62

Would you like to add more error handling for return values from functions like the following?

Originally created by @elfring on GitHub (Sep 11, 2015). Original GitHub issue: https://github.com/netblue30/firejail/issues/62 Would you like to add more error handling for return values from functions like the following? - [fclose](http://pubs.opengroup.org/onlinepubs/9699919799/functions/fclose.html) ⇒ [save_cgroup](https://github.com/netblue30/firejail/blob/b77a28737ecd9be3d202049a638db153299780d0/src/firejail/cgroup.c#L25) - [fprintf](http://pubs.opengroup.org/onlinepubs/9699919799/functions/fprintf.html) ⇒ [shm_write_bandwidth_file](https://github.com/netblue30/firejail/blob/b77a28737ecd9be3d202049a638db153299780d0/src/firejail/bandwidth.c#L251)
Author
Owner

@netblue30 commented on GitHub (Sep 11, 2015):

fixed

<!-- gh-comment-id:139566456 --> @netblue30 commented on GitHub (Sep 11, 2015): fixed
Author
Owner

@elfring commented on GitHub (Sep 11, 2015):

Are there a few update candidates left over?

<!-- gh-comment-id:139569109 --> @elfring commented on GitHub (Sep 11, 2015): Are there [a few update candidates](https://github.com/netblue30/firejail/blob/491b8f2390c456d55ad49c333c1cc42cf7dd116e/src/firejail/cgroup.c#L35) left over?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#33
No description provided.