aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2011-07-28 18:55:31 -0700
committerPaul Eggert2011-07-28 18:55:31 -0700
commitc678c83546bee743707bd0e259cc2aba192180c3 (patch)
tree6e5c90ab1d218649c814f96c87967815be03275d /src/alloc.c
parentb7b603a0dca7695a852db57f8983bc0239f49678 (diff)
downloademacs-c678c83546bee743707bd0e259cc2aba192180c3.tar.gz
emacs-c678c83546bee743707bd0e259cc2aba192180c3.zip
* xfns.c: Integer and memory overflow fixes.
(x_encode_text, x_set_name_internal, Fx_change_window_property): Use ptrdiff_t, not int, to count sizes, since they can exceed INT_MAX in size. Check for size calculation overflow.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions