VirtualBox

Changeset 91322 in vbox


Ignore:
Timestamp:
Sep 21, 2021 4:07:15 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146983
Message:

Main: bugref:1909: Fixed SEGFAULT when extpack plugin is not loaded but NLS is enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp

    r91312 r91322  
    567567     */
    568568    if (!m->fUsable)
    569         hrc = setError(E_FAIL, tr("%s"), m->strWhyUnusable.c_str());
     569        hrc = setError(E_FAIL, "%s", m->strWhyUnusable.c_str());
    570570    else
    571571    {
     
    650650            }
    651651            else
    652                 hrc = setError(VBOX_E_OBJECT_NOT_FOUND, tr("%s"), szError);
     652                hrc = setError(VBOX_E_OBJECT_NOT_FOUND, "%s", szError);
    653653        }
    654654        else
     
    818818#ifdef VBOX_WITH_MAIN_NLS
    819819    /* register language files if exist */
    820     if (m->pReg->pszNlsBaseName != NULL)
     820    if (m->pReg != NULL && m->pReg->pszNlsBaseName != NULL)
    821821    {
    822822        char szPath[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