mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Add assert in pckReadNext() to prevent reading into a field.
This commit is contained in:
parent
610bfd736e
commit
cc7f2eea90
@ -702,6 +702,7 @@ pckReadNext(PackRead *this)
|
||||
FUNCTION_TEST_END();
|
||||
|
||||
ASSERT(this != NULL);
|
||||
ASSERT(this->tagNextId == 0);
|
||||
|
||||
FUNCTION_TEST_RETURN(pckReadTagNext(this));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user