diff options
| author | Paul Eggert | 2011-06-20 19:15:16 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-20 19:15:16 -0700 |
| commit | 281549626c7a22c2d8643fc563974ee6fbc401a8 (patch) | |
| tree | 36efa23cefa8f3e423ea21da7751d7b1917fe546 /src/ChangeLog | |
| parent | 7de51af53b40c4fcaa4369feffad11e9db11fbe0 (diff) | |
| download | emacs-281549626c7a22c2d8643fc563974ee6fbc401a8.tar.gz emacs-281549626c7a22c2d8643fc563974ee6fbc401a8.zip | |
* xrdb.c: Don't assume strlen fits in int; avoid some strlens.
* xrdb.c (magic_file_p, search_magic_path):
Omit last arg SUFFIX; it was always 0. All callers changed.
(magic_file_p): Use ptrdiff_t, not int. Check for size overflow.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 857b0fa79e2..b388b1e3ea7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2011-06-21 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xrdb.c: Don't assume strlen fits in int; avoid some strlens. | ||
| 4 | * xrdb.c (magic_file_p, search_magic_path): | ||
| 5 | Omit last arg SUFFIX; it was always 0. All callers changed. | ||
| 6 | (magic_file_p): Use ptrdiff_t, not int. Check for size overflow. | ||
| 7 | |||
| 3 | * xfont.c (xfont_match): Avoid need for strlen. | 8 | * xfont.c (xfont_match): Avoid need for strlen. |
| 4 | 9 | ||
| 5 | * xfns.c: Don't assume strlen fits in int. | 10 | * xfns.c: Don't assume strlen fits in int. |