VirtualBox

Ignore:
Timestamp:
Feb 8, 2024 3:27:12 PM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161579
Message:

Re-applied r161549 again (Got rid of a lot of deprecated strcpy / strcat calls; now using the IPRT pendants (found by Parfait)), left out some stuff which wasn't wanted, less bloated version of DrvAudio.cpp. bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/PerformanceLinux.cpp

    r103275 r103285  
    531531        return;
    532532    }
    533     strcat(szVolInfo, "/" VBOXVOLINFO_NAME " ");
    534     strcat(szVolInfo, pcszVolume);
     533    vrc = RTStrCat(szVolInfo, sizeof(szVolInfo), "/" VBOXVOLINFO_NAME " ");
     534    AssertRCReturnVoid(vrc);
     535    vrc = RTStrCat(szVolInfo, sizeof(szVolInfo), pcszVolume);
     536    AssertRCReturnVoid(vrc);
    535537
    536538    FILE *fp = popen(szVolInfo, "r");
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