Go to file
H. Peter Anvin 8bec2c788f nasm.c: fix stack overrun in assemble_file
If [DEBUG id] has id longer then 80 symbols (well, 79 actually plus
EOS) then stack will be just overwritten.

Fix it with explicit check for identifier being too long.

Based on an initial version by Cyrill Gorcunov <gorcunov@gmail.com>.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
2009-08-08 13:49:00 -07:00
doc doc: \ needs to be repeated except in \c-line context; daily snapshots 2009-08-02 14:16:07 -07:00
headers NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
inttypes Add _MIN and _MAX macros for the fixed-size types. 2007-08-20 20:09:11 +00:00
lcc Fixed distinction between char and int8_t data types. 2007-04-13 16:47:53 +00:00
lib Move all the SAA code out of nasmlib 2008-06-09 17:32:43 -07:00
macros Add copyright headers to standard macro packages 2009-06-28 17:18:13 -07:00
misc xcrcgen: tool to create a "generalized CRC" hash table 2009-07-16 10:43:38 -04:00
Mkfiles Run make alldeps 2009-07-18 18:43:28 -07:00
output output/outbin.c -- use list helpers 2009-08-01 23:52:25 +04:00
perllib phash: canonicalize order, fix handling of ignored duplicates 2008-05-25 18:44:44 -07:00
rdoff NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
test test/Makefile: add more output rules 2009-07-16 22:44:43 -04:00
.gitignore Merge branch 'master' into new-preproc 2009-07-13 21:41:33 -04:00
aclocal.m4 autoconf: detect the broken bool in OpenWatcom 1.8 2009-03-01 13:57:40 -08:00
assemble.c Merge commit 'cyr/hpa-list' 2009-07-30 15:06:47 -07:00
assemble.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
AUTHORS Add Cyrill Gorcunov to AUTHORS 2009-06-26 14:57:33 -07:00
autogen.sh autogen.sh: remove config.status 2008-04-10 14:54:02 -07:00
ChangeLog Documention Changes for Release 2.00 2007-11-25 14:25:13 -08:00
CHANGES Move the revision history into the documentation 2008-07-14 02:45:57 -04:00
compiler.h Change noreturn macro to no_return to avoid header file problems 2009-07-05 19:22:28 -07:00
configure.in autoconf: detect the broken bool in OpenWatcom 1.8 2009-03-01 13:57:40 -08:00
crc64.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
directives.dat directives: split global directives from backend-specific ones 2009-07-13 14:57:48 -04:00
directives.pl directives: split global directives from backend-specific ones 2009-07-13 14:57:48 -04:00
disasm.c NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
disasm.h NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
eval.c NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
eval.h NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
exprlib.c NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
float.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
float.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
hashtbl.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
hashtbl.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
insns.dat insns.dat -- convert FMA instructions 2009-08-07 18:42:40 +04:00
insns.h Enable fuzzy matching of operand sizes 2009-07-25 18:15:28 -07:00
insns.pl insns.pl: smarter handling of operand flags 2009-07-26 12:52:22 -07:00
INSTALL Update the INSTALL file to match current reality 2008-06-28 18:53:55 -07:00
install-sh NASM 0.98.30 2002-04-30 21:09:12 +00:00
labels.c Drop the ofmt and errfunc arguments to label definition functions 2009-07-18 18:43:58 -07:00
labels.h Drop the ofmt and errfunc arguments to label definition functions 2009-07-18 18:43:58 -07:00
LICENSE NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
listing.c listing: preserve list file on error, include errors 2009-07-07 12:04:12 -07:00
listing.h NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
macros.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
Makefile.in Run make alldeps 2009-07-18 18:43:28 -07:00
mkdep.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
nasm.1 nasm.1 -- update contents 2009-07-31 14:30:33 +04:00
nasm.c nasm.c: fix stack overrun in assemble_file 2009-08-08 13:49:00 -07:00
nasm.h Drop efunc and evalfunc as input to the preprocessor 2009-07-18 18:57:16 -07:00
nasm.nsi nasm.nsi: remove COPYING; add LICENSE 2009-07-06 11:10:42 -07:00
nasm.spec.in spec: change License to BSD 2009-07-06 11:14:38 -07:00
nasmlib.c Remove function pointers in output, simplify error handling 2009-07-18 18:43:12 -07:00
nasmlib.h nasmlib.h - introduce list iterator helpers 2009-07-20 17:59:00 +04:00
ndisasm.1 Update manual pages 2007-09-19 21:41:27 -07:00
ndisasm.c Remove function pointers in output, simplify error handling 2009-07-18 18:43:12 -07:00
parser.c Drop efunc and evaluate argument to parse_line() 2009-07-18 18:49:55 -07:00
parser.h Drop efunc and evaluate argument to parse_line() 2009-07-18 18:49:55 -07:00
phash.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
pptok.dat pptok: change %rimacro to %irmacro 2009-07-14 21:00:40 -05:00
pptok.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
preproc.c preproc.c - remove redundant assignment 2009-07-20 17:59:00 +04:00
preproc.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
quote.c quote: use nasm_assert() instead of plain assert() 2009-07-15 16:30:30 -04:00
quote.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
raa.c Remove function pointers in output, simplify error handling 2009-07-18 18:43:12 -07:00
raa.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
rbtree.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
rbtree.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
README BR 2826669: update licensing information in README 2009-07-26 15:40:38 -07:00
regs.dat Add copyright notices to other *.dat files 2009-06-28 16:58:10 -07:00
regs.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
saa.c Remove function pointers in output, simplify error handling 2009-07-18 18:43:12 -07:00
saa.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
standard.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
stdscan.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
stdscan.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
strfunc.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
sync.c sync.c - introduce swap_sync helper 2009-07-20 17:59:00 +04:00
sync.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
syncfiles.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
tables.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
TODO General push for x86-64 support, dubbed 0.99.00. 2007-04-12 02:40:54 +00:00
tokens.dat Add copyright notices to other *.dat files 2009-06-28 16:58:10 -07:00
tokhash.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
ver.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
version NASM 2.07 2009-07-19 22:16:52 -07:00
version.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00

              NASM, the Netwide Assembler.

Many many developers all over the net respect NASM for what it is
- a widespread (thus netwide), portable (thus netwide!), very
flexible and mature assembler tool with support for many output
formats (thus netwide!!).

Now we have good news for you: NASM is licensed under the "simplified"
(2-clause) BSD license.  This means its development is open to even
wider society of programmers wishing to improve their lovely
assembler.

The NASM project is now situated at SourceForge.net, the most
popular Open Source development site on the Internet.

Visit our website at http://nasm.sourceforge.net/ and our
SourceForge project at http://sourceforge.net/projects/nasm/

See the file CHANGES for the description of changes between revisions.

                                                   With best regards,
                                                           NASM crew.