Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ruby: Prevent a possible integer underflow
Coverity picked up a potential issue with the previous commit d9f5f1f ("Ruby: Handle response field arrays") in that a size_t could wrap around to SIZE_MAX - 1. This would happen if we were given an empty array of header values. Fixes: d9f5f1f ("Ruby: Handle response field arrays") Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
- Loading branch information