Go to file
Cyrill Gorcunov 7d96ac6a56 preproc.c: Fix NULL deref on token pasting
In case if there is a whitespace before
'paste' token we may reach NULL dereference
in strlen since paste_head will point to
TOK_WHITESPACE. Fix it.

[mainstream adabc1576b]

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-07-10 02:34:05 +04:00
contrib contrib/MSVC6.txt: Add guide how to use nasm in MSVC6 2010-01-24 23:17:55 +03:00
doc doc/changes.src: Restore empty line. 2010-03-03 23:15:25 +03:00
headers headers/c: strip off useless spaces 2009-08-09 10:28:27 -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 Add strlcpy() function 2009-08-10 15:59:34 -07:00
macros Add copyright headers to standard macro packages 2009-06-28 17:18:13 -07:00
misc misc/tag-release: Make it usable for remote repos 2010-03-03 22:41:45 +03:00
Mkfiles Mkfiles: Add depends on stabs.h for Elf output 2010-01-03 16:19:43 +03:00
nsis New NSIS script 2009-09-14 23:17:03 +04:00
output output/outbin.c: Fix misprinted alignment bound 2010-02-11 21:49:58 +03:00
perllib phash.ph: we haven't required the Graph module for a long time 2010-02-18 10:36:21 -08:00
rdoff Use fputs instead of fprintf for plain strings 2009-08-13 15:07:59 +02:00
test test/Makefile: make it easier to inject options 2009-11-28 15:34:32 -08: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 BR2907058: insn_size - close file handle before returning 2009-12-05 14:10:41 +03:00
assemble.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
AUTHORS AUTHORS: convert to UTF-8 2009-11-30 12:07:31 -08: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 Add strlcpy() function 2009-08-10 15:59:34 -07:00
configure.in Add strlcpy() function 2009-08-10 15:59:34 -07: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 continue using is_class helper 2009-10-18 12:41:14 +04:00
disasm.h NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
eval.c Various tab/space/comment cleanup 2009-10-31 20:05:32 +03: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 style cleanup 2009-10-13 19:41:37 +04: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 hash_init: check for size being power of two 2009-11-06 22:00:37 +03: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: in 64-bit mode, accept "monitor rax,ecx,edx". 2010-01-06 16:07:26 -08:00
insns.h Enable fuzzy matching of operand sizes 2009-07-25 18:15:28 -07:00
insns.pl insns.pl: remove redundant empty line in enum opcode 2009-08-08 14:00:47 -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 labels.c: Fix NULL dereference on too long identifiers 2010-02-18 19:06:14 +03: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 output/outelfX.c: Use definitions from stabs.h 2010-01-03 15:04:36 +03: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: Restore strings broken by indent 2010-01-09 20:36:18 +03:00
nasm.h opflags: more int32_t -> opflags_t conversions 2009-10-13 12:29:01 -07:00
nasm.nsi nasm.nsi: use "delete recursively" specificator 2009-09-27 16:00:06 +04:00
nasm.spec.in spec: change License to BSD 2009-07-06 11:14:38 -07:00
nasmlib.c nasmlib.c: Use UINT64_C for 64bit constants 2010-01-24 21:28:28 +03:00
nasmlib.h nasmlib.h: Introduce ALIGN helpers 2010-02-11 21:28:27 +03:00
ndisasm.1 Update manual pages 2007-09-19 21:41:27 -07:00
ndisasm.c Use fputs instead of fprintf for plain strings 2009-08-13 15:07:59 +02:00
opflags.h opflags: more int32_t -> opflags_t conversions 2009-10-13 12:29:01 -07:00
parser.c Revert "BR 2887108: Use overflow_ helper to catch inappropriate imm optimization" 2009-11-01 10:24:48 +03: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: Fix NULL deref on token pasting 2010-07-10 02:34:05 +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:28:43 -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 README: add note to see the AUTHORS file 2010-01-06 20:56:11 -08:00
regs.dat Add copyright notices to other *.dat files 2009-06-28 16:58:10 -07:00
regs.pl opflags: more int32_t -> opflags_t conversions 2009-10-13 12:29:01 -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 stdscan.c: use TOKEN_EOS and string helpers 2009-10-31 20:05:50 +03:00
stdscan.h stdscan: switch to stdscan_get/set routines 2009-10-31 20:02:43 +03: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: Get sync points limit back 2009-12-22 23:42:03 +03: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 opflags: more int32_t -> opflags_t conversions 2009-10-13 12:29:01 -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.08.01 2010-03-10 23:18:21 +01: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,
and the file AUTHORS for a list of contributors.

                                                   With best regards,
                                                           NASM crew.