You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-13 01:00:23 +02:00
Add assert in pckReadNext() to prevent reading into a field.
This commit is contained in:
@ -702,6 +702,7 @@ pckReadNext(PackRead *this)
|
||||
FUNCTION_TEST_END();
|
||||
|
||||
ASSERT(this != NULL);
|
||||
ASSERT(this->tagNextId == 0);
|
||||
|
||||
FUNCTION_TEST_RETURN(pckReadTagNext(this));
|
||||
}
|
||||
|
Reference in New Issue
Block a user