nasm.c: Use copy_filename to set error message file
commit416bd78bae87641b3da48349c55d9e7f3b193ff4
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 4 Dec 2009 16:44:20 +0000 (4 19:44 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Fri, 4 Dec 2009 16:44:20 +0000 (4 19:44 +0300)
treebb58cd3adc4d08fee93bd0a682138f5237cf478e
parent8896ad0c65ee1bd9ea5dac9fa03df65335db6ef0
nasm.c: Use copy_filename to set error message file

To prevent errname buffer overwrite we should
use copy_filename instead of strcpy.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
nasm.c