microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.97k stars 1.65k forks source link

Please review: Static code analysis results by coverity #1063

Open yxiang92128 opened 5 years ago

yxiang92128 commented 5 years ago

Our organization requires us to scan all open source SDKs by coverity. After excluding benign/false positive issues and other performance related issues such as Passing large sized parameter by value, I've patched several issues shown as attached mainly in the areas:

  1. Uninitialized member variables.
  2. Uncaught exceptions.
  3. Unchecked return values

Can somebody please verify and if possible integrate the patches?

Thanks. cpprest_coverity_patched.txt