VirtualBox

Ignore:
Timestamp:
Jan 13, 2025 8:51:08 PM (5 weeks ago)
Author:
vboxsync
Message:

Storage/ISCSI.cpp: Fix harmless possible integer overflow parfait warning, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/ISCSI.cpp

    r107426 r107727  
    27782778     * The additional segment is for the BHS.
    27792779     */
    2780     size_t cI2TSegs = 2*(pScsiReq->cI2TSegs + 1);
     2780    uint32_t cI2TSegs = 2 * (pScsiReq->cI2TSegs + 1);
    27812781    pIScsiPDU = (PISCSIPDUTX)RTMemAllocZ(RT_UOFFSETOF_DYN(ISCSIPDUTX, aISCSIReq[cI2TSegs]));
    27822782    if (!pIScsiPDU)
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