VirtualBox

Changeset 79110 in vbox for trunk/src/VBox/Additions/os2


Ignore:
Timestamp:
Jun 13, 2019 12:17:25 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131272
Message:

os2/VBoxSF: Forgot to set fpGEAList to NULL when full EAs are queried. FC/2 paniced the guest copying files off shared folder.

Location:
trunk/src/VBox/Additions/os2/VBoxSF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSF.cpp

    r77661 r79110  
    21262126        Log2(("vboxSfOs2MakeEmptyEaList: #0: %p %p %#x\n", EaOp.fpGEAList, EaOp.fpFEAList, EaOp.oError));
    21272127        EaOp.fpFEAList = (PFEALIST)KernSelToFlat((uintptr_t)EaOp.fpFEAList);
    2128         EaOp.fpGEAList = (PGEALIST)KernSelToFlat((uintptr_t)EaOp.fpGEAList);
     2128        if (   uLevel != FI_LVL_EAS_FULL
     2129            && uLevel != FI_LVL_EAS_FULL_5
     2130            && uLevel != FI_LVL_EAS_FULL_8)
     2131            EaOp.fpGEAList = (PGEALIST)KernSelToFlat((uintptr_t)EaOp.fpGEAList);
     2132        else
     2133            EaOp.fpGEAList = NULL;
    21292134        Log2(("vboxSfOs2MakeEmptyEaList: #0b: %p %p\n", EaOp.fpGEAList, EaOp.fpFEAList));
    21302135
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFUtil.cpp

    r75542 r79110  
    331331            printf("%s: FIL_QUERYEASFROMLISTL -> %u\n", argv[i], rc);
    332332
    333         EaOp.fpGEA2List = (PGEA2LIST)memcpy(&Gea2List, &Gea2ListOrg, sizeof(Gea2List));
     333        //EaOp.fpGEA2List = (PGEA2LIST)memcpy(&Gea2List, &Gea2ListOrg, sizeof(Gea2List));
     334        EaOp.fpGEA2List = (PGEA2LIST)0xfefefef7;
    334335        EaOp.fpFEA2List = &u.FeaList;
    335336        EaOp.oError     = 0;
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