Memory overflow detection when packing/unpacking BLOB added

This commit is contained in:
2016-07-20 19:29:21 +02:00
parent 2f4425f38c
commit 51428d290f
14 changed files with 168 additions and 119 deletions

View File

@@ -141,7 +141,7 @@ namespace eap
///
/// \param[inout] cursor Memory cursor
///
virtual void pack(_Inout_ unsigned char *&cursor) const;
virtual void pack(_Inout_ eapserial::cursor_out &cursor) const;
///
/// Returns packed size of a configuration
@@ -155,7 +155,7 @@ namespace eap
///
/// \param[inout] cursor Memory cursor
///
virtual void unpack(_Inout_ const unsigned char *&cursor);
virtual void unpack(_Inout_ eapserial::cursor_in &cursor);
/// @}

View File

@@ -137,7 +137,7 @@ namespace eap
///
/// \param[inout] cursor Memory cursor
///
virtual void pack(_Inout_ unsigned char *&cursor) const;
virtual void pack(_Inout_ eapserial::cursor_out &cursor) const;
///
/// Returns packed size of a configuration
@@ -151,7 +151,7 @@ namespace eap
///
/// \param[inout] cursor Memory cursor
///
virtual void unpack(_Inout_ const unsigned char *&cursor);
virtual void unpack(_Inout_ eapserial::cursor_in &cursor);
/// @}