libICE: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Wed Nov 30 18:55:26 PST 2011


 src/process.c |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 8b4321a37a9fa2ad24bf87afabba6b08dcfded12
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Nov 24 12:42:36 2011 -0800

    Plug minor memory leak in unusual path through ProcessConnectionSetup
    
    Error: Memory leak (CWE 401)
       Memory leak of pointer 'release' allocated with malloc((_len + 1))
            at line 1100 of src/process.c in function 'ProcessConnectionSetup'.
              'release' allocated at line 920 with malloc((_len + 1)).
              release leaks when _i >= hisAuthCount at line 925
                  and i >= _IceAuthCount at line 973
                  and found != 0 at line 998
                  and status != 0 at line 1053
                  and status != 1 at line 1070
                  and accept_setup_now == 0 at line 1082
                  and i >= hisAuthCount at line 1093.
       Memory leak of pointer 'vendor' allocated with malloc((_len + 1))
            at line 1100 of src/process.c in function 'ProcessConnectionSetup'.
              'vendor' allocated at line 919 with malloc((_len + 1)).
              vendor leaks when _i >= hisAuthCount at line 925
                  and i >= _IceAuthCount at line 973
                  and found != 0 at line 998
                  and status != 0 at line 1053
                  and status != 1 at line 1070
                  and accept_setup_now == 0 at line 1082
                  and i >= hisAuthCount at line 1093.
    
    [ This bug was found by the Parfait 0.3.7 bug checking tool.
      For more information see http://labs.oracle.com/projects/parfait/ ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>



More information about the xorg-commit mailing list