• Show log

    Commit

  • Hash : fb606b06
    Author : Ran Benita
    Date : 2012-04-01T17:07:56

    Avoid use of partly initialized VModInfo in error path
    
    Such as:
    
    Compiling path: ./test/data/bad.xkb  mapName:
    ==1300== Conditional jump or move depends on uninitialised value(s)
    ==1300==    at 0x4E46166: HandleVModDef (vmod.c:90)
    ==1300==    by 0x4E3FEC9: HandleKeyTypesFile (keytypes.c:1035)
    ==1300==    by 0x4E3FBE1: HandleIncludeKeyTypes.constprop.11 (keytypes.c:387)
    ==1300==    by 0x4E401DD: HandleKeyTypesFile (keytypes.c:1022)
    ==1300==    by 0x4E3FBE1: HandleIncludeKeyTypes.constprop.11 (keytypes.c:387)
    ==1300==    by 0x4E401DD: HandleKeyTypesFile (keytypes.c:1022)
    ==1300==    by 0x4E4026F: CompileKeyTypes (keytypes.c:1150)
    ==1300==    by 0x4E3DF9B: CompileKeymap (keymap.c:169)
    ==1300==    by 0x4E465E9: compile_keymap (xkbcomp.c:205)
    ==1300==    by 0x4E46BE4: xkb_compile_keymap_from_file (xkbcomp.c:290)
    ==1300==    by 0x400B37: test_file (filecomp.c:47)
    ==1300==    by 0x4008E3: main (filecomp.c:90)
    ==1300==  Uninitialised value was created by a stack allocation
    ==1300==    at 0x4E3FB3F: HandleIncludeKeyTypes.constprop.11 (keytypes.c:366)
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libxkbcommon.git
    Git SSH git@git.kmx.io:kc3-lang/libxkbcommon.git
    Public access ? public
    Description

    keymap handling library for toolkits and window systems

    Users
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags