Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
sashashura committed Jul 21, 2023
1 parent 9de9106 commit 8149225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packet++/header/TLVData.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ namespace pcpp
TLVRecordType getFirstTLVRecord(uint8_t* tlvDataBasePtr, size_t tlvDataLen) const
{
TLVRecordType resRec(tlvDataBasePtr); // for NRVO optimization

// resRec pointer is out-bounds of the TLV records memory
if (resRec.getRecordBasePtr() + resRec.getTotalSize() > tlvDataBasePtr + tlvDataLen)
resRec.assign(NULL);
Expand Down

0 comments on commit 8149225

Please sign in to comment.