No description
Find a file
Cyrill Gorcunov 3079f7966d preproc: Fix malformed parameter count
readnum returns 64bit number which may become
a negative integer upon conversion which in
turn lead to out of bound array access.

Fix it by explicit conversion with bounds check

 | POC6:2: error: parameter count `2222222222' is out of bounds [0; 2147483647]

https://bugzilla.nasm.us/show_bug.cgi?id=3392528

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-14 10:26:26 +03:00
asm preproc: Fix malformed parameter count 2018-11-14 10:26:26 +03:00
common BR 3392409: idata_bytes() and resv_bytes() don't match their prototypes 2017-06-01 15:23:05 -07:00
config Windows: clean up the handling of stat on Windows 2017-04-06 15:48:51 -07:00
contrib contrib/MSVC6.txt: Add guide how to use nasm in MSVC6 2010-01-24 23:17:55 +03:00
disasm disasm: Fix buffer overread in ndisasm 2018-08-16 01:20:01 +03:00
doc preproc: command-line preproc directive after system-generated 2018-11-11 13:36:13 -08:00
headers headers: Update year 2010-04-25 12:02:38 +04:00
include strlist: use a hash table 2018-10-25 12:33:58 -07:00
macros Cleanup of label renaming infrastructure, add subsection support 2018-06-01 18:06:25 -07:00
misc misc: Nindent -- Drop expand tabs with space option 2018-10-28 23:51:25 +03:00
Mkfiles MSVC: fix dependency generation and building RDOFF under MSVC 2018-06-18 13:54:43 -07:00
nasmlib strlist: use a hash table 2018-10-25 12:33:58 -07:00
nsis nsis: use /solid compression for smaller size 2017-04-07 11:05:09 -07:00
output output: obj -- Fix nil dereference if no deps needed 2018-11-11 21:42:40 +03:00
perllib perllib/README: delete obsolete file 2017-02-23 20:24:56 -08:00
rdoff errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
stdlib errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
test asm: support the +n syntax for register sets 2018-06-25 17:15:08 -07:00
tools MSVC: fix dependency generation and building RDOFF under MSVC 2018-06-18 13:54:43 -07:00
travis test: nasm-t -- Extend inctest 2018-11-12 23:28:18 +03:00
x86 insns.dat: add Intel Software Guard Extensions (SGX) instructions 2018-06-25 23:09:38 -07:00
.gitignore .gitignore: Add com 2018-11-11 21:43:46 +03:00
.travis.yml travis: Disable osx for a while 2018-10-17 21:40:14 +03:00
aclocal.m4 malloc: simplify nasm_malloc code, add nasm_strcatn() 2018-05-30 11:40:42 -07:00
AUTHORS Correct name spelling and email address 2015-01-18 20:21:14 +02:00
autogen.sh More autoconf modernizations; upgrade AC_PREREQ to 2.69 2017-11-08 10:22:10 -08: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
configure.ac Merge remote-tracking branch 'origin/nasm-2.14.xx' 2018-06-15 17:44:30 -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
LICENSE LICENSE: update year 2010-08-12 20:15:27 -07:00
Makefile.in Makefile.in: fix building RDOFF 2018-06-18 14:02:29 -07:00
nasm.spec.in build: Merge CPPFLAGS into ALL_CFLAGS 2017-07-06 01:36:06 +03:00
nasm.spec.sed nasm.spec: use a sed file to insert perl dependencies 2017-04-23 18:54:23 -07:00
nasm.txt Defer debug format search until after command line parsing 2016-03-07 23:20:00 -08:00
ndisasm.txt ndisasm: man -- Add missing -p option 2013-04-20 20:18:46 +04:00
README.md Add travis status into readme 2018-10-17 21:40:14 +03:00
SubmittingPatches Add SubmittingPatches file 2010-10-03 21:02:08 +04:00
TODO General push for x86-64 support, dubbed 0.99.00. 2007-04-12 02:40:54 +00:00
version NASM 2.14 2018-11-07 13:43:01 -08:00
version.pl Handle multiple standard macro sets sanely 2016-07-13 14:23:48 -07:00

NASM, the Netwide Assembler

master

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.

Visit our nasm.us website for more details. We are gradually moving services away from Sourceforge. For our remaining Sourceforge services see here.

With best regards, the NASM crew.