]> begriffs open source - freertos/commit
Improvement to O.F. protections (#75)
authorDavid Chalco <59750547+dachalco@users.noreply.github.com>
Tue, 30 Jun 2020 18:03:30 +0000 (11:03 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Jun 2020 18:03:30 +0000 (11:03 -0700)
commit4a61f9ff7e2ad058c578952e2a615a123dadeba2
tree4c0962b606a0b8d31878c031049b1254211630f5
parentb47ca712d863cb8512cbf295b2e4fb163a50b2e1
Improvement to O.F. protections (#75)

* Added protection for xQueueGenericCreate

* prevent eventual invalid state change from int8 overflow

* Append period at end of comment. To be consistent with file.

* check operand, not destination

* parantheses -- to not show assumptive precendence

* Per request, less dependence on stdint by defining and checking against queueINT8_MAX instead
queue.c