mirror of
https://github.com/curl/curl.git
synced 2026-08-10 17:40:53 +03:00
http_aws_sigv4: avoid risk of overflowed constant
- Simplify canon_query() a bit. Avoid unconditionally using length -1 where length risks being zero at times. Pointed out by Coverity. - Fix indent errors - narrow some variable scopes - fix keywords in tests Closes #17402
This commit is contained in:
parent
5b4bd55006
commit
8c8186eadc
3 changed files with 61 additions and 68 deletions
|
|
@ -3,6 +3,7 @@
|
|||
<keywords>
|
||||
unittest
|
||||
canon_string
|
||||
aws-sigv4
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<keywords>
|
||||
unittest
|
||||
canon_query
|
||||
aws-sigv4
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue