diff options
| author | Paul Eggert | 2011-07-28 14:34:39 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-28 14:34:39 -0700 |
| commit | 3d0c92a26bb73fdc542e4d9e467b31fd0ad02417 (patch) | |
| tree | 30754be8833646ed36d98fe37695b5a8630806b5 /src/bytecode.c | |
| parent | ca9ce8f2cb9d3d70c4e7d9dc9299ea4d5d71dfbc (diff) | |
| download | emacs-3d0c92a26bb73fdc542e4d9e467b31fd0ad02417.tar.gz emacs-3d0c92a26bb73fdc542e4d9e467b31fd0ad02417.zip | |
* doc.c: Integer and memory overflow fixes.
(get_doc_string_buffer_size): Now ptrdiff_t, not int.
(get_doc_string): Check for size calculation overflow.
Don't update size until allocation succeeds.
(get_doc_string, Fsubstitute_command_keys): Use ptrdiff_t, not
EMACS_INT, where ptrdiff_t will do.
(Fsubstitute_command_keys): Check for string overflow.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions