azure-sdk-for-cpp/sdk
Ahson Khan 75d17550f2
Add argument validation to public APIs. Throw or Precondition/assert failure? (#2189)
* Add argument validation to public APIs.

* Add exception to spell check.

* Revert "Add exception to spell check."

This reverts commit be54b614cc1427ddb2f154f5927f4e612a4a1e28.

* Turn invalid arg excetion to a precondition assert for bodystream read.

* User assert in more places within body_stream.

* Update valiation for hashing and bodystream and update tests.

* Update  precondition test for size_t and add null ptr check

* Fix clang formatting.

* Update changelog and fix up the message for size_t validation in hash.

* Address PR feedback.

* More PR feedback.

* Remove unnecessary comment from test.

* Fix clang format.
2021-05-18 20:10:14 -07:00
..
core Add argument validation to public APIs. Throw or Precondition/assert failure? (#2189) 2021-05-18 20:10:14 -07:00
identity Explore removing use of int within header files to align with guidelines. (#2276) 2021-05-18 20:49:53 +00:00
keyvault Use size_t for buffers representing data in memory rather than int64_t. (#2285) 2021-05-18 18:51:20 -07:00
storage Vcpkg fixes (#2311) 2021-05-18 19:33:59 -07:00
template Doxygen comment updates (#2280) 2021-05-17 17:05:06 -07:00