VirtualBox

Changes between Initial Version and Version 1 of Ticket #16838


Ignore:
Timestamp:
Jun 20, 2017 12:02:40 PM (7 years ago)
Author:
Frank Mehnert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16838 – Description

    initial v1  
    11Function sf_glob_alloc() in src/VBox/Additions/linux/sharedfolders/vfsmod.c allocates a buffer for str_name and leaks this information.  The leak occurs on the check:
    2 
     2{{{
    33    /* Check if NLS charset is valid and not points to UTF8 table */
    44    if (info->nls_name[0])
     
    1717        }
    1818    }
    19 
     19}}}
    2020..the failed to load nls error exit path jumps to fail1 which does not free str_name, which looks like a memory leak to me.

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