VirtualBox

Changeset 62158 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 11, 2016 12:33:42 PM (9 years ago)
Author:
vboxsync
Message:

ValidationKit/TestExecServ: Fix crc32 handling for stdin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/TestExecServ/TestExecService.cpp

    r57358 r62158  
    17821782            /* Check the CRC */
    17831783            pStdInBuf->uCrc32 = RTCrc32Process(pStdInBuf->uCrc32, pch, cb);
    1784             if (pStdInBuf->uCrc32 == uCrc32)
     1784            if (RTCrc32Finish(pStdInBuf->uCrc32) == uCrc32)
    17851785            {
    17861786
     
    18561856            }
    18571857            else
    1858                 rc = txsReplySimple(pPktHdr, "STDINCRC");
     1858                rc = txsReplyFailure(pPktHdr, "STDINCRC", "Invalid CRC checksum expected %#x got %#x",
     1859                                     pStdInBuf->uCrc32, uCrc32);
    18591860        }
    18601861        else if (pPktHdr->cb < sizeof(TXSPKTHDR) + sizeof(uint32_t))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette