tencentyun / cos-cpp-sdk-v5

MIT License
56 stars 46 forks source link

Fixed a crash caused by vector out-of-bound #80

Closed shurunxuan closed 3 years ago

shurunxuan commented 3 years ago

A clear() function call makes the size of vec_offset 0, and an index operation happens right after the clear(), causing an out-of-bound exception, regardless of the platform targeted and the compiler used.