svn commit: r2348 - trunk/yasm/modules/preprocs/gas

peter at tortall.net peter at tortall.net
Sun Aug 1 10:44:56 PDT 2010


Author: peter
Date: Sun Aug  1 10:44:56 2010
New Revision: 2348

Modified:
   trunk/yasm/modules/preprocs/gas/gas-preproc.c
Changeset:
   http://www.tortall.net/projects/yasm/changeset/2348

Log:
Fix #213: Fix gas-preproc misuse of strcpy() and uninitialized variables.

- strcpy() was being used with overlapping memory ranges; switched to memmove().
- bline->line_number was not set in one location.

Exact causes identified using valgrind.



More information about the yasm-cvs mailing list