VirtualBox

Changeset 104045 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 25, 2024 5:57:06 PM (8 months ago)
Author:
vboxsync
Message:

Backed out r162435: Linux kernel modules: vboxnetflt: Fix UBSAN warning by switching to flexible array (Win builds are not happy), bugref:10585.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/intnet.h

    r104044 r104045  
    356356    uint16_t            cSegsUsed;
    357357    /** Variable sized list of segments. */
    358     RT_FLEXIBLE_ARRAY_EXTENSION
    359     INTNETSEG           aSegs[RT_FLEXIBLE_ARRAY];
     358    INTNETSEG           aSegs[1];
    360359} INTNETSG;
    361360AssertCompileSizeAlignment(INTNETSG, 8);
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