bitmap: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Apr 16 14:49:33 UTC 2022


 .gitlab-ci.yml          |    2 +-
 Makefile.am             |   28 +++++++++++++++-------------
 atobm.c                 |   15 ++++++++++-----
 configure.ac            |    1 +
 test/round-trip-test.in |   27 +++++++++++++++++++++++++++
 5 files changed, 54 insertions(+), 19 deletions(-)

New commits:
commit 13ac2639c3c88bb6c7ecaae541941203e6344ad0
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 9 16:26:14 2022 -0700

    gitlab CI: stop requiring Signed-off-by in commits
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit b8090d0f5bee66ceb12cee2b63425efd74ad4610
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 9 16:11:45 2022 -0700

    atobm: close memory leaks
    
    Fix leaks reported by Oracle Parfait (though they don't last long,
    since the program exits immediately after leaking):
    
    Error: Memory leak
       Memory leak [memory-leak] (CWE 401):
          Memory leak of pointer pointer allocated with _new_scan_list(bytes_per_scanline)
            at line 260 of atobm.c in function 'doit'.
            calloc called at line 180 in function '_new_scan_list'
            Allocated value returned to caller at line 193
              pointer allocated at line 250 in function 'doit' with _new_scan_list(bytes_per_scanline)
              pointer leaks when (i + 1) >= <unknown> at line 275
                  and buf[0] != 0 at line 225.
    
    Error: Memory leak
       Memory leak [memory-leak] (CWE 401):
          Memory leak of pointer pointer allocated with _new_scan_list(bytes_per_scanline)
            at line 316 of atobm.c in function 'doit'.
            calloc called at line 180 in function '_new_scan_list'
            Allocated value returned to caller at line 193
              pointer allocated at line 250 in function 'doit' with _new_scan_list(bytes_per_scanline)
              pointer leaks when slist != NULL at line 252
                  and (i + 1) >= <unknown> at line 275
                  and (i + 1) >= <unknown> at line 303.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit c6b48ffeb65182bf5989df299c6a7fcccb3cb09a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 9 15:56:57 2022 -0700

    atobm: accept single character lines
    
    Fixes round-trip-test failure on hlines2
    
    The previous behavior has been present since the initial checkin of the
    code to the X Consortium monolith, but no explanation was given for why
    a single-character line should be skipped.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit fa7241ac10bf9b47c3d20d557fdca0aa0a468484
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 9 15:42:10 2022 -0700

    test: add round-trip-test for atobm & bmtoa
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 7c4196d3218d1afa73c930577beeb579c1e87a38
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 9 12:44:34 2022 -0700

    Move bitmaps into a new bitmaps directory
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list