VirtualBox

vbox的更動 12423 路徑 trunk/src/VBox/Devices/Storage


忽略:
時間撮記:
2008-9-12 下午02:42:49 (16 年 以前)
作者:
vboxsync
訊息:

IPRT/SUP: Renamed RTLdrOpenAppSharedLib to RTLdrOpenAppPriv. Hardend versions of RTLdrOpen and RTLdrOpenAppPriv. Use the hardend versions where appropriate.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp

    r12368 r12423  
    2626#include <VBox/VBoxHDD-new.h>
    2727#include <VBox/err.h>
    28 
     28#include <VBox/sup.h>
    2929#include <VBox/log.h>
     30
    3031#include <iprt/alloc.h>
    3132#include <iprt/assert.h>
     
    195196
    196197        /* Try to load the plugin (RTLdrLoad takes care of the suffix). */
    197         rc = RTLdrLoad(pszPluginName, &hPlugin);
     198        rc = SUPR3HardenedLdrLoad(pszPluginName, &hPlugin);
    198199        if (RT_SUCCESS(rc))
    199200        {
     
    730731            }
    731732
    732             rc = RTLdrLoad(pszPluginPath, &hPlugin);
     733            rc = SUPR3HardenedLdrLoad(pszPluginPath, &hPlugin);
    733734            if (RT_SUCCESS(rc))
    734735            {
     
    10151016            }
    10161017
    1017             rc = RTLdrLoad(pszPluginPath, &hPlugin);
     1018            rc = SUPR3HardenedLdrLoad(pszPluginPath, &hPlugin);
    10181019            if (RT_SUCCESS(rc))
    10191020            {
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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