Commit Graph

4510 Commits

Author SHA1 Message Date
Ed Beroset
64ab51965a Added todo item to point out the somewhat tricky fact about snprintf's
return value.
2004-12-15 23:32:57 +00:00
Ed Beroset
a5d2945b7b added checks for vsnprintf and snprintf (ISO C99) and changed gcc
compile flag from -ansi to -std=c99
2004-12-15 23:02:20 +00:00
Ed Beroset
258fcafe88 Corrected typo in variable name. 2004-12-15 23:00:13 +00:00
Ed Beroset
3ef4e4da04 changed last sprintf to more secure snprintf to prevent vulnerability to buffer
overflow exploits.
2004-12-15 18:30:54 +00:00
Ed Beroset
9234817aa4 changed sprintf to more secure snprintf to prevent vulnerability to buffer
overflow exploits.
2004-12-15 18:27:50 +00:00
Ed Beroset
602f1df356 added buffer length parameter to prevent vulnerability to buffer
overflow exploits.
2004-12-15 18:27:21 +00:00
Ed Beroset
b30ff1f284 added buffer length parameters to prevent vulnerability to buffer
overflow exploits.
2004-12-15 18:26:37 +00:00
Ed Beroset
fcc50aec8a changed sprintf to more secure snprintf to prevent vulnerability to buffer
overflow exploits.
2004-12-15 18:03:20 +00:00
Ed Beroset
83b2809a03 changed sprintf to more secure snprintf to prevent vulnerability to buffer
overflow exploits.
2004-12-15 17:10:25 +00:00
Ed Beroset
19f927ac64 cleaned up most but not all sprintf() and vsprintf() calls to avoid
vulnerability to buffer overflow exploits.
2004-12-15 17:07:03 +00:00
Ed Beroset
ec2e10cfea replaced vsprintf() with vsnprintf() to avoid buffer overflow exploit 2004-12-15 16:45:46 +00:00
Yuri Zaporogets
e0c059ab4e outrdf2.c now uses the same definitions of RDOFF2 format that RDOFF utils.
Export/import/common label size is increased from 33 to 64. Fixed the bug
that caused wrong behavior of rdfgetheaderrec() if label length was 32.
Changed error codes from numeric values to symbolic constants.
Moved some routines from rdfdump.c to rdoff.c. They will be utilized also
by rdfdisasm, which is being developed.
2004-09-15 06:54:34 +00:00
Yuri Zaporogets
7549d14998 Removed old header that was once used by ldrdf. 2004-08-08 20:09:32 +00:00
Yuri Zaporogets
e3057fb65e Include <string.h> to get rid of compiler warnings 2004-05-15 14:41:04 +00:00
Yuri Zaporogets
2e63b0d40d Fix of the critical bug in ldrdf.c 2004-05-15 09:48:58 +00:00
Frank Kotler
7c4dada951 fix as86 .bss handling per John Coffman's patch 2004-04-25 02:57:00 +00:00
Frank Kotler
86f9e6a784 fix man page per Eric Raymond 2004-01-07 06:17:21 +00:00
Frank Kotler
6f7a5a60dc Touch up docs 2003-12-12 07:54:15 +00:00
Frank Kotler
b4a1735c47 Update rdoff 2003-12-12 06:18:07 +00:00
Nickolay Yurchenko
f7956c4072 For compatibility with older code removed feature:
* Unterminated string auto termination.
2003-09-26 19:03:40 +00:00
Stanislav Karchebny
0a76a9e690 Backed out another patch =) 2003-09-26 04:20:30 +00:00
Stanislav Karchebny
d52236c00e Revert erroneous macro added and modify __OUTPUT_FORMAT__ to a string const 2003-09-25 11:43:28 +00:00
Stanislav Karchebny
5e8f36611f Consistency fix 2003-09-25 11:28:45 +00:00
Stanislav Karchebny
88a049aca1 Added _NASM_FORMAT_ macro 2003-09-24 10:30:56 +00:00
Nickolay Yurchenko
f3b3ce27bd * Unterminated string auto termination.
* %(el)if(n)idn insensitivity to string quotes difference (#809300).
2003-09-21 20:38:43 +00:00
H. Peter Anvin
a31985e641 Document fix 2003-09-12 22:31:42 +00:00
H. Peter Anvin
9bab3d57d4 Don't delete config.h.in when doing "make spotless" 2003-09-12 22:30:50 +00:00
H. Peter Anvin
adc62fb0af Next version = 0.98.39 2003-09-12 20:52:49 +00:00
H. Peter Anvin
97b7e0a23a Fix list iterator 2003-09-12 20:49:25 +00:00
H. Peter Anvin
528d860571 Document change to -g internals 2003-09-12 17:06:52 +00:00
H. Peter Anvin
bb88d011e3 If we don't specify -g, actually suppress debugging output 2003-09-10 23:34:23 +00:00
H. Peter Anvin
88dce03d8e Use the version of tmap.nas that actually caused problems 2003-09-10 23:33:38 +00:00
H. Peter Anvin
8b3d1a546d More test files... 2003-09-08 22:59:45 +00:00
H. Peter Anvin
3da80c0686 Cannot free "lnfname" since it's now static... 2003-09-08 22:59:07 +00:00
H. Peter Anvin
eea6b7aa7f Make sure autoheader has actually been run by conditionalizing
the running of configure on the existence of config.h.in.
2003-09-08 20:02:10 +00:00
Ed Beroset
fd508e5c4e fixed bug #677841 by limiting the scanner to no more than 4095 characters for a single ID token 2003-09-08 01:49:30 +00:00
Ed Beroset
c06f6df292 fixed bug #677841 by limiting the scanner to no more than 4095 characters for a single ID token 2003-09-08 00:30:40 +00:00
Nickolay Yurchenko
9aea715998 * Fix for %rep with no arguments (#560568)
* Fix concatenation of preprocessor function call  (#794686)
2003-09-07 22:46:26 +00:00
Frank Kotler
243a37719b nasm_malloc-ize Martin's outelf.c stabs stuff 2003-09-06 05:48:16 +00:00
Frank Kotler
abebb08083 quick fix to -f obj debug format - put "static" back in assemble.c
-
2003-09-06 04:45:37 +00:00
H. Peter Anvin
a75b8018b2 Document ELF fix 2003-09-06 00:55:49 +00:00
H. Peter Anvin
61ecdbb3a8 First attempt at fixing the stabs/ELF issue. 2003-09-06 00:50:27 +00:00
H. Peter Anvin
4b2900af2d Document STR fix 2003-09-02 21:39:22 +00:00
H. Peter Anvin
cd342f0f7e STR also has SMSW/SLDT-like semantics for operand size 2003-09-02 21:38:48 +00:00
H. Peter Anvin
8229cfe83f Add autoheader command 2003-09-01 04:20:40 +00:00
H. Peter Anvin
2ef2f06125 Enable the use of a config.h file and autoheader. At this point we don't
actually *use* the resulting configuration file, but it keeps autoconf
from creating an insanely long compiler command line, which can cause
problems all by itself.  Eventually we can do:

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

... to get the same information.
2003-09-01 04:19:37 +00:00
H. Peter Anvin
bdf061f6e7 -O10 and -O15, not -O5 and -O10 2003-09-01 04:14:15 +00:00
H. Peter Anvin
b5f76fbe9b Now working toward 0.98.38 2003-08-30 05:04:22 +00:00
H. Peter Anvin
cefdfbc070 Support building 16-bit DOS binaries using OpenWatcom 2003-08-30 03:49:30 +00:00
H. Peter Anvin
e68699287c Update for newer RH releases 2003-08-29 21:03:44 +00:00