diff options
author | Simon Rozman <simon@rozman.si> | 2020-10-31 18:13:36 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2020-10-31 19:11:57 +0100 |
commit | 60ad907b99ceca0dbeab6123dcc0a44d8bfad29d (patch) | |
tree | 2ad0307795fc31b3e3653199f2c1e70a98a88999 /api/adapter.h | |
parent | api: fix up console writing for debug (diff) | |
download | wintun-60ad907b99ceca0dbeab6123dcc0a44d8bfad29d.tar.xz wintun-60ad907b99ceca0dbeab6123dcc0a44d8bfad29d.zip |
api: check buffer overflows in runtime
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/adapter.h')
-rw-r--r-- | api/adapter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/adapter.h b/api/adapter.h index 5405e71..f02d30c 100644 --- a/api/adapter.h +++ b/api/adapter.h @@ -107,8 +107,8 @@ WintunGetAdapterDeviceObject(_In_ const WINTUN_ADAPTER *Adapter, _Out_ HANDLE *H */ WINTUN_STATUS WINAPI WintunCreateAdapter( - _In_z_count_c_(WINTUN_MAX_POOL) const WCHAR *Pool, - _In_z_count_c_(MAX_ADAPTER_NAME) const WCHAR *Name, + _In_z_ const WCHAR *Pool, + _In_z_ const WCHAR *Name, _In_opt_ const GUID *RequestedGUID, _Out_ WINTUN_ADAPTER **Adapter, _Out_opt_ BOOL *RebootRequired); |