Go to file
zhrf2020 8fcc785f95 preproc: fix memory leak (and possibly CVEs?)
case PP_ENDM:
    case PP_ENDMACRO:
        if (!(defining && defining->name)) {
            nasm_nonfatal("`%s': not defining a macro", tok_text(tline));
            goto done;
        }
        mmhead = (MMacro **) hash_findi_add(&mmacros, defining->name);
        defining->next = *mmhead;
        *mmhead = defining;
        defining = NULL;
        break;

The variable: mmacros has not been released, which will cause a memory
leak. Repair cve-2021-33450 cve-2021-33452 synchronously

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2022-11-07 12:34:04 -08:00
asm preproc: fix memory leak (and possibly CVEs?) 2022-11-07 12:34:04 -08:00
autoconf autoconf: update macros and helper scripts 2022-10-05 12:03:33 -07:00
common Add {rex} prefix, simplify prefix handling, better error messages 2021-04-27 11:37:42 -07:00
config config/unconfig.h: still needs to be in the repository 2020-07-08 08:53:28 -07:00
contrib
disasm restire: Support of AVX512-FP16 Instructions 2022-11-07 12:21:23 -08:00
doc document %imacro%unimacro (case-insensitive) 2022-10-09 19:24:41 +00:00
headers
include restire: Support of AVX512-FP16 Instructions 2022-11-07 12:21:23 -08:00
macros Make istruc "at" support struc local labels 2022-09-09 00:30:06 +02:00
misc Move <string.h> inclusion to compiler.h 2018-12-26 06:32:37 -08:00
Mkfiles output/coff: Support for COMDAT sections 2021-12-17 23:45:25 +03:00
nasmlib Fix warning on ; outside of function 2022-04-04 10:25:58 -05:00
nsis nsis: use /solid compression for smaller size 2017-04-07 11:05:09 -07:00
output Merge remote-tracking branch 'rygorous/master' 2022-11-07 12:31:54 -08:00
perllib phash: bloat the hashes somewhat, reducing the likelihood of false positives 2020-07-27 13:24:59 -07:00
rdoff Merge remote-tracking branch 'github/nasm-2.15.xx' 2022-10-05 12:31:33 -07:00
stdlib vsnprintf.c: fix printing of a size_t variable 2020-07-09 17:44:21 -07:00
test Add test case for istruc's "at" with local labels 2022-09-09 00:30:24 +02:00
tools config/unconfig.h: generate by Makefile, not autogen.sh 2020-07-06 11:12:03 -07:00
travis test: add dbxsize test 2021-11-20 23:57:49 +03:00
x86 restire: Support of AVX512-FP16 Instructions 2022-11-07 12:21:23 -08:00
.gitattributes gitattributes: don't try to merge the version file 2020-06-30 13:48:13 -07:00
.gitignore .gitignore: ignore timestamp (*.time) files 2020-09-11 16:28:57 -07:00
.travis.yml travis: Disable osx for a while 2018-10-17 21:40:14 +03:00
AUTHORS
autogen.sh autogen.sh: don't rely on sed -r 2020-07-12 06:03:58 -07:00
ChangeLog
CHANGES
configure.ac quote_for_pmake: fix counter underrun resulting in segfault 2022-11-07 10:26:03 -08:00
INSTALL
LICENSE
Makefile.in output/coff: Support for COMDAT sections 2021-12-17 23:45:25 +03:00
nasm.spec.in nasm.spec.in: need perl; .pdf.xz now build by standard Makefile 2020-06-04 17:17:28 -07:00
nasm.spec.sed nasm.spec: use a sed file to insert perl dependencies 2017-04-23 18:54:23 -07:00
nasm.txt Add group aliases for all prefixed warnings. 2019-06-06 20:53:17 -07:00
ndisasm.txt
README.md doc: remove references to sourceforge 2020-07-01 21:48:44 -07:00
SubmittingPatches
version NASM 2.16rc1 2022-10-05 12:15:06 -07:00
version.pl preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -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.

With best regards, the NASM crew.