VirtualBox

Changeset 72602 in vbox for trunk/src/libs


Ignore:
Timestamp:
Jun 18, 2018 3:16:04 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123099
Message:

Linux/Address sanitizer: silence some warnings about memory leaks.
bugref:8019: Undefined behaviour sanitiser
Address sanitizer prints information about memory leaks when a binary exits.
Some things are hard to fix, some things we just do not bother. Document
that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c

    r66019 r72602  
    521521                rv = RTThreadCreateF(&hThread, _pt_iprt_root, thred, stackSize, enmType, fFlags, "nspr-%u", ASMAtomicIncU32(&s_iThread));
    522522                if (RT_SUCCESS(rv)) {
     523#ifdef VBOX_WITH_GCC_SANITIZER
     524                        __lsan_ignore_object(hThread);
     525#endif
    523526                        id = (pthread_t)RTThreadGetNative(hThread);
    524527            rv = 0;
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