aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPaul Eggert2011-07-28 16:58:05 -0700
committerPaul Eggert2011-07-28 16:58:05 -0700
commit0eb0f3187d46ec0efdfc1df38565c160c759ecb2 (patch)
tree2f87e3fc4534e20652a07cd897d3e55c5819c247 /src/bytecode.c
parent1ffd9c92ea38e078ec6cde6277c7ce88895212df (diff)
downloademacs-0eb0f3187d46ec0efdfc1df38565c160c759ecb2.tar.gz
emacs-0eb0f3187d46ec0efdfc1df38565c160c759ecb2.zip
* gtkutil.c: Integer overflow fixes.
(get_utf8_string, xg_store_widget_in_map): Check for size-calculation overflow. (get_utf8_string): Use ptrdiff_t, not size_t, where either will do, as we prefer signed integers. (id_to_widget.max_size, id_to_widget.used) (xg_store_widget_in_map, xg_remove_widget_from_map) (xg_get_widget_from_map, xg_get_scroll_id_for_window) (xg_remove_scroll_bar, xg_update_scrollbar_pos): Use and return ptrdiff_t, not int. (xg_gtk_scroll_destroy): Don't assume ptrdiff_t fits in int. * gtkutil.h: Change prototypes to match the above.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions