Changeset 3b2e908 in suil


Ignore:
Timestamp:
May 7, 2017, 4:31:28 AM (7 months ago)
Author:
David Robillard <d@…>
Branches:
master
Children:
f3893a6
Parents:
6fd032c
Message:

Fix potential use of uninitialized memory

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEWS

    r6fd032c r3b2e908  
    55  * Add suil_init() to support early initialization and passing any necessary
    66    information that may be needed in the future (thanks Stefan Westerfeld)
    7   * Fix memory leaks
     7  * Fix minor memory errors
    88
    9  -- David Robillard <d@drobilla.net>  Sun, 07 May 2017 13:23:10 +0200
     9 -- David Robillard <d@drobilla.net>  Sun, 07 May 2017 13:26:59 +0200
    1010
    1111suil (0.8.4) stable;
  • src/x11_in_gtk2.c

    r6fd032c r3b2e908  
    194194        int        height = allocation->height;
    195195        XSizeHints hints;
     196        memset(&hints, 0, sizeof(hints));
    196197        XGetNormalHints(GDK_WINDOW_XDISPLAY(window),
    197198                        (Window)socket->instance->ui_widget,
  • src/x11_in_gtk3.c

    r6fd032c r3b2e908  
    197197        int        height = allocation->height;
    198198        XSizeHints hints;
     199        memset(&hints, 0, sizeof(hints));
    199200        XGetNormalHints(GDK_WINDOW_XDISPLAY(window),
    200201                        (Window)socket->instance->ui_widget,
Note: See TracChangeset for help on using the changeset viewer.