summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-12-13 02:04:38 +0000
committerAndrew Clayton <a.clayton@nginx.com>2023-12-13 03:20:25 +0000
commit88854cf14688286f835f7177c6bfaa17f1962f67 (patch)
tree0916ae15eabeda1c54cfdbdcefd8c2097ad60cae /pkg/rpm
parentd9f5f1fb741109cc232cedd3574aa587626789c1 (diff)
downloadunit-88854cf14688286f835f7177c6bfaa17f1962f67.tar.gz
unit-88854cf14688286f835f7177c6bfaa17f1962f67.tar.bz2
Ruby: Prevent a possible integer underflow
Coverity picked up a potential issue with the previous commit d9f5f1fb7 ("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: d9f5f1fb7 ("Ruby: Handle response field arrays") Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions