minio / minio-cpp

MinIO C++ Client SDK for Amazon S3 Compatible Cloud Storage
https://minio-cpp.min.io/
Apache License 2.0
136 stars 56 forks source link

use std::make_unique() for out-of-bound read test and exception safety #113

Closed piotr-topnotch closed 8 months ago

piotr-topnotch commented 8 months ago
  1. Fixed the out-of-bound read in tests, as detected on Windows
  2. Fixed exception safety: the buffer would leak in the case of exception.