diff options
| author | Eli Zaretskii | 2012-05-28 19:50:10 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-05-28 19:50:10 +0300 |
| commit | 291d430f5f184c8a9438eace09b141131de343e8 (patch) | |
| tree | 6310a9eb6bbf4643505fa67d0b012dad81624aa0 /src/ChangeLog | |
| parent | e383e32d7a00bf286db1dc6b05b6219f0eaab8dc (diff) | |
| download | emacs-291d430f5f184c8a9438eace09b141131de343e8.tar.gz emacs-291d430f5f184c8a9438eace09b141131de343e8.zip | |
Avoid buffer text relocations in calls to STRING_CHAR_* macros.
src/charset.c (maybe_unify_char): Inhibit relocation of buffer text
for the duration of call to load_charset, to avoid problems with
callers of maybe_unify_char that access buffer text through C
pointers.
src/ralloc.c (r_alloc_inhibit_buffer_relocation): Increment and
decrement the inhibition flag, instead of just setting or
resetting it.
Fixes: debbugs:11519
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0b1ef220fc0..ec5725af2bc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2012-05-23 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * charset.c (maybe_unify_char): Inhibit relocation of buffer text | ||
| 4 | for the duration of call to load_charset, to avoid problems with | ||
| 5 | callers of maybe_unify_char that access buffer text through C | ||
| 6 | pointers. | ||
| 7 | |||
| 8 | * ralloc.c (r_alloc_inhibit_buffer_relocation): Increment and | ||
| 9 | decrement the inhibition flag, instead of just setting or | ||
| 10 | resetting it. | ||
| 11 | |||
| 1 | 2012-05-24 Ken Brown <kbrown@cornell.edu> | 12 | 2012-05-24 Ken Brown <kbrown@cornell.edu> |
| 2 | 13 | ||
| 3 | * callproc.c (Fcall_process): Restore a line that was accidentally | 14 | * callproc.c (Fcall_process): Restore a line that was accidentally |