This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/430/ |
Autoscan finished with errors: Error: RESOURCE_LEAK (CWE-772): openlmi-providers-0.4.1_314_gb904d5b/src/locale/LMI_LocaleProvider.c:94: alloc_fn: Storage is returned from allocation function "locale_get_properties(void)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59:5: alloc_fn: Storage is returned from allocation function "malloc(size_t)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59:5: var_assign: Assigning: "cloc" = "malloc(160UL)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:139:5: return_alloc: Returning allocated memory "cloc". openlmi-providers-0.4.1_314_gb904d5b/src/locale/LMI_LocaleProvider.c:94: var_assign: Assigning: "cloc" = storage returned from "locale_get_properties()". openlmi-providers-0.4.1_314_gb904d5b/src/locale/LMI_LocaleProvider.c:130: leaked_storage: Variable "cloc" going out of scope leaks the storage it points to. Error: UNINIT (CWE-457): openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:52: var_decl: Declaring variable "cloc". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: alloc_fn: Calling allocator "malloc(size_t)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: assign: Assigning: "cloc" = "malloc(160UL)", which is allocated but not initialized. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Options" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:161:5: read_parm_fld: Reading a parameter field. Error: UNINIT (CWE-457): openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:52: var_decl: Declaring variable "cloc". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: alloc_fn: Calling allocator "malloc(size_t)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: assign: Assigning: "cloc" = "malloc(160UL)", which is allocated but not initialized. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Variant" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:160:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Options" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:161:5: read_parm_fld: Reading a parameter field. Error: UNINIT (CWE-457): openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:52: var_decl: Declaring variable "cloc". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: alloc_fn: Calling allocator "malloc(size_t)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: assign: Assigning: "cloc" = "malloc(160UL)", which is allocated but not initialized. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Model" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:159:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Variant" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:160:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Options" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:161:5: read_parm_fld: Reading a parameter field. Error: UNINIT (CWE-457): openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:52: var_decl: Declaring variable "cloc". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: alloc_fn: Calling allocator "malloc(size_t)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: assign: Assigning: "cloc" = "malloc(160UL)", which is allocated but not initialized. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Layouts" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:158:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Model" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:159:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Variant" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:160:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Options" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:161:5: read_parm_fld: Reading a parameter field. Error: UNINIT (CWE-457): openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:52: var_decl: Declaring variable "cloc". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: alloc_fn: Calling allocator "malloc(size_t)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: assign: Assigning: "cloc" = "malloc(160UL)", which is allocated but not initialized. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->VConsoleKeymapToggle" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:157:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Layouts" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:158:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Model" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:159:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Variant" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:160:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Options" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:161:5: read_parm_fld: Reading a parameter field. Error: UNINIT (CWE-457): openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:52: var_decl: Declaring variable "cloc". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: alloc_fn: Calling allocator "malloc(size_t)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:59: assign: Assigning: "cloc" = "malloc(160UL)", which is allocated but not initialized. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->VConsoleKeymap" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:156:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->VConsoleKeymapToggle" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:157:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Layouts" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:158:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Model" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:159:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Variant" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:160:5: read_parm_fld: Reading a parameter field. openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:143: uninit_use_in_call: Using uninitialized value "cloc->X11Options" when calling "locale_free(CimLocale *)". openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:161:5: read_parm_fld: Reading a parameter field. Error: CLANG_WARNING: openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:156:5: warning: Function call argument is an uninitialized value # g_free(cloc->VConsoleKeymap); # ^ ~~~~~~~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:157:5: warning: Function call argument is an uninitialized value # g_free(cloc->VConsoleKeymapToggle); # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:158:5: warning: Function call argument is an uninitialized value # g_free(cloc->X11Layouts); # ^ ~~~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:159:5: warning: Function call argument is an uninitialized value # g_free(cloc->X11Model); # ^ ~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:160:5: warning: Function call argument is an uninitialized value # g_free(cloc->X11Variant); # ^ ~~~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_314_gb904d5b/src/locale/localed.c:161:5: warning: Function call argument is an uninitialized value # g_free(cloc->X11Options); # ^ ~~~~~~~~~~~~~~~~ Scanned reviews: 430
- scanbot
On June 4th, 2014, 10:38 a.m. UTC, Vitezslav Crhonek wrote:
Review request for OpenLMI Developers.
By Vitezslav Crhonek.
Updated June 4, 2014, 10:38 a.m.
Repository:
openlmi-providers
Description
Diffs
|