Completion of error handling #22

Closed
opened 2026-01-29 20:29:10 +00:00 by claunia · 7 comments
Owner

Originally created by @elfring on GitHub (Sep 11, 2015).

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). Would you like to add more error handling for return values from functions like the following? - [fseek](http://pubs.opengroup.org/onlinepubs/9699919799/functions/fseek.html) ⇒ [FileSize](https://github.com/google/brotli/blob/7f7a2fb48cec63c0459ec6b6e7260810bfb01819/tools/bro.cc#L160) - [malloc](http://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html) ⇒ [BrotliFileIn constructor](https://github.com/google/brotli/blob/55a40ce214be844b8860ef46e3ba321324542679/enc/streams.cc#L90)
Author
Owner

@eustas commented on GitHub (Oct 6, 2015):

Fixed. Thank you!

@eustas commented on GitHub (Oct 6, 2015): Fixed. Thank you!
Author
Owner

@elfring commented on GitHub (Oct 6, 2015):

To which commits do you refer to for this issue?

@elfring commented on GitHub (Oct 6, 2015): To which commits do you refer to for this issue?
Author
Owner

@eustas commented on GitHub (Oct 6, 2015):

https://github.com/google/brotli/pull/209

@eustas commented on GitHub (Oct 6, 2015): https://github.com/google/brotli/pull/209
Author
Owner

@elfring commented on GitHub (Oct 6, 2015):

Are there any update candidates left over?

@elfring commented on GitHub (Oct 6, 2015): Are there [any update candidates](https://github.com/google/brotli/blob/c85bb508cb86eaac98a4667e67e944018f5abbf2/tools/bro.cc#L185) left over?
Author
Owner

@eustas commented on GitHub (Oct 6, 2015):

This one looks safe, since we haven't touched the file contents.
Will fix it soon.

@eustas commented on GitHub (Oct 6, 2015): This one looks safe, since we haven't touched the file contents. Will fix it soon.
Author
Owner

@szabadka commented on GitHub (Oct 23, 2015):

Fixed in PR #235

@szabadka commented on GitHub (Oct 23, 2015): Fixed in PR #235
Author
Owner

@elfring commented on GitHub (Oct 23, 2015):

Thanks for another small source code improvement.

@elfring commented on GitHub (Oct 23, 2015): Thanks for another small source code improvement.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#22