diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-05-01 12:25:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-05-01 12:25:01 -0400 |
commit | 58fa856960d3073bcf84adac8e8bd6c555674271 (patch) | |
tree | 6650cc37ca552169a994e857f3014d0fa0a39e62 /include | |
parent | 18f75b80fd67fd7348fcfb807216f654597b592f (diff) | |
download | musl-58fa856960d3073bcf84adac8e8bd6c555674271.tar.gz musl-58fa856960d3073bcf84adac8e8bd6c555674271.tar.xz musl-58fa856960d3073bcf84adac8e8bd6c555674271.zip |
fix mishandling of ENOMEM return case in internal getgrent_a function
due to an incorrect return statement in this error case, the previously blocked cancellation state was not restored and no result was stored. this could lead to invalid (read) accesses in the caller resulting in crashes or nonsensical result data in the event of memory exhaustion.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions