VirtualBox

Changeset 103260 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 7, 2024 4:56:08 PM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161549
Message:

Got rid of a lot of deprecated strcpy / strcat calls; now using the IPRT pendants (found by Parfait). bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp

    r98103 r103260  
    847847    }
    848848
    849     strcat(szPath, "/../VMMR0.r0");
     849    rc = RTStrCat(szPath, sizeof(szPath), "/../VMMR0.r0");
     850    if (RT_FAILURE(rc))
     851    {
     852        RTPrintf("tstIntNet-1: RTStrCat -> %Rrc\n", rc);
     853        return 1;
     854    }
    850855
    851856    char szAbsPath[RTPATH_MAX];
Note: See TracChangeset for help on using the changeset viewer.

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