[*] Resolve: protocol-stack link bug (multiple append failure / missing next link)

This commit is contained in:
Reece Wilson 2023-04-19 23:35:48 +01:00
parent 00129255f8
commit 2af2eadfa8

View File

@ -262,6 +262,11 @@ namespace Aurora::IO::Protocol
} }
else else
{ {
if (this->pTopPiece)
{
this->pTopPiece->pNext = pNew;
}
this->pTopPiece = pNew; this->pTopPiece = pNew;
if (!this->pBottomPiece) if (!this->pBottomPiece)