Commit ad6b5de
aws: Allocate S3_KEY_SIZE +1 instead of S3_KEY_SIZE for allocating buffer for s3 key
This is because macOS's strlen complains buffer overflow due to
exceeding length of allocated buffers. To prevent this issue,
we need to allocate an adittional +1 length of char type of buffer.
Signed-off-by: Hiroshi Hatake <[email protected]>1 parent ed13084 commit ad6b5de
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
911 | | - | |
912 | | - | |
| 911 | + | |
| 912 | + | |
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
| |||
0 commit comments