esnet / esnet/iperf

Completion of error handling

Open
#806 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
8.8k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Would you like to add more error handling for return values from functions like the following?
- [calloc](http://pubs.opengroup.org/onlinepubs/9699919799/functions/calloc.html "Memory allocation") ⇒ [decode_auth_setting](https://github.com/esnet/iperf/blob/88f3ad87f38762081a6d7127890ff5c3a052b06a/src/iperf_auth.c#L264)
- [malloc](http://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html "Memory allocation") ⇒ [add_to_interval_list](https://github.com/esnet/iperf/blob/a68171340fe2ee4fee8585e7a0c8378838d90103/src/iperf_api.c#L2070)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.