VirtualBox

Changeset 87473 in vbox


Ignore:
Timestamp:
Jan 29, 2021 12:10:32 AM (4 years ago)
Author:
vboxsync
Message:

Dhcpd: Printing an ethernet MAC address expects a pointer to the
structure. Fixes segfault reported in ticketref:20128. bugref:9288.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/Dhcpd/Config.cpp

    r82968 r87473  
    10641064    /* Name - optional: */
    10651065    if (!pElmConfig->getAttributeValue("name", m_strName))
    1066         m_strName.printf("MAC:%RTmac", m_MACAddress);
     1066        m_strName.printf("MAC:%RTmac", &m_MACAddress);
    10671067
    10681068    /* Fixed IP address assignment - optional: */
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