Prevent buffer overflows when using streams
This commit is contained in:
parent
13a8b0e5ba
commit
ab7b1642bc
18 changed files with 600 additions and 388 deletions
|
|
@ -166,6 +166,8 @@ public:
|
|||
|
||||
const char *GetChars() const { return Chars; }
|
||||
|
||||
TArrayView<uint8_t> GetTArrayView();
|
||||
|
||||
const char &operator[] (int index) const { return Chars[index]; }
|
||||
#if defined(_WIN32) && !defined(_WIN64) && defined(_MSC_VER)
|
||||
// Compiling 32-bit Windows source with MSVC: size_t is typedefed to an
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue