Re: localcharset: fix security problem

2009-12-25 Thread Bruno Haible
Hi, I wrote on 2009-10-18: > * m4/fcntl_h.m4 (gl_FCNTL_O_FLAGS): New macro, extracted from > gl_FCNTL_H. > (gl_FCNTL_H): Require it. > * modules/localcharset (Files): Add m4/fcntl_h.m4. When the 'localcharset' module contains a .m4 file, GNU gettextize will distribute this

localcharset: fix security problem

2009-10-18 Thread Bruno Haible
This fixes a possible symlink attack in localcharset module. The security hole was probably small, but that's not a reason for not making it even smaller. 2009-10-18 Bruno Haible Avoid symlink attack in localcharset module. * lib/localcharset.c: Include , . (O_NOFOLLOW