mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
added buffer length parameters to prevent vulnerability to buffer
overflow exploits.
This commit is contained in:
parent
fcc50aec8a
commit
b30ff1f284
6
disasm.h
6
disasm.h
@ -11,8 +11,8 @@
|
||||
|
||||
#define INSN_MAX 32 /* one instruction can't be longer than this */
|
||||
|
||||
long disasm (unsigned char *data, char *output, int segsize, long offset,
|
||||
int autosync, unsigned long prefer);
|
||||
long eatbyte (unsigned char *data, char *output);
|
||||
long disasm (unsigned char *data, char *output, int outbufsize, int segsize,
|
||||
long offset, int autosync, unsigned long prefer);
|
||||
long eatbyte (unsigned char *data, char *output, int outbufsize);
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user