Remove call to strcpy (#2844) This is safe but the memcpy approach is more efficient. Also enable the clang-tidy check. Suggested by Claude.
Recent Commits to s3fs-fuse:master (6)
-
Remove call to strcpy (#2844)
-
Use more secure std::random_device instead of rand (#2843)
Use more secure std::random_device instead of rand (#2843) Suggested by Claude.
-
Fix TOCTOU in mkdirp (#2842)
Fix TOCTOU in mkdirp (#2842) It is safer to create the directory and let it fail with EEXIST than to check then create. Suggested by Claude.
-
Assign correct SSL bundle on FreeBSD (#2841)
Assign correct SSL bundle on FreeBSD (#2841) This has always been broken, at least since 5db550a29864248048c1ebd28e5d61f384024cfb. Suggested by Claude.
-
Set cache permissions to 700 (#2840)
Set cache permissions to 700 (#2840) Claude flagged this world-writable directory.
-
Upgrade to S3Proxy 3.1.0 (#2838)
Upgrade to S3Proxy 3.1.0 (#2838) Also set Content-Type for s3_cp test helper curl's --data-binary defaults Content-Type to application/x-www-form-urlencoded, which causes Jetty 12 to drain the request body as form parameters before S3Proxy 3.1.0 can hash it for x-amz-content-sha256 verification, failing the check with 400 XAmzContentSHA256Mismatch. Send application/octet-stream instead. Release notes: https://github.com/gaul/s3proxy/releases/tag/s3proxy-3.1.0