]> git.eshelyaron.com Git - emacs.git/commit
Add NUL-termination to some uses of strncpy.
authorJim Meyering <meyering@redhat.com>
Wed, 2 May 2012 10:12:13 +0000 (18:12 +0800)
committerChong Yidong <cyd@gnu.org>
Wed, 2 May 2012 10:12:13 +0000 (18:12 +0800)
commitbf98199cf1bea244378538d60838f81cb3a34b49
treeee8ffe8445eb073346878b4eb2731264c97c599e
parentcd3771a08b8a1fed5aa91eb2ac559d41801668ea
Add NUL-termination to some uses of strncpy.

* lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
NUL-terminate the error buffer.

* src/w32font.c (fill_in_logfont): NUL-terminate a string (Bug#11372).
lib-src/ChangeLog
lib-src/pop.c
src/ChangeLog
src/w32font.c