mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-05 16:46:35 -05:00
Merge commit from fork
* Harden serializer deserialization bounds * Finalize Unix serializer hardening Validate object types before parsing and release owned objects on failure. Enforce nesting limits through shared serialization entry points. Mirror read/write size limits and reject embedded NULs while preserving the wire format. Add regression tests for bounds, types, and cleanup. Validated Linux self-tests, C++03 platform tests, and ASan/UBSan with leak detection. Co-authored-by: Damian Rickard <damian@rickard.us> --------- Co-authored-by: Damian Rickard <damian@rickard.us> Co-authored-by: Mounir IDRASSI <mounir.idrassi@amcrypto.jp>
This commit is contained in:
25 files changed
+738
-171
No files matched your search
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
Copyright (c) 2026 AM Crypto. All rights reserved.
|
||||
|
||||
Governed by the Apache License 2.0, the full text of which is contained in
|
||||
the file License.txt included in VeraCrypt binary and source distributions.
|
||||
*/
|
||||
|
||||
#ifndef TC_HEADER_Core_CoreTest
|
||||
#define TC_HEADER_Core_CoreTest
|
||||
|
||||
namespace VeraCrypt
|
||||
{
|
||||
class CoreTest
|
||||
{
|
||||
public:
|
||||
static void TestAll ();
|
||||
|
||||
private:
|
||||
CoreTest ();
|
||||
static void HostDeviceTest ();
|
||||
static void VolumePasswordTest ();
|
||||
static void ServiceRequestTest ();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // TC_HEADER_Core_CoreTest
|
||||
Reference in new issue
Block a user