diff options
author | Charles Crayne <chuck@thor.crayne.org> | 2007-10-07 18:46:57 -0700 |
---|---|---|
committer | Charles Crayne <chuck@thor.crayne.org> | 2007-10-07 18:46:57 -0700 |
commit | 43f699b9bd9e9a3340fbdd17b869ae3148d9bfe8 (patch) | |
tree | 89462d9c953465fb240e64613d401423461f6305 | |
parent | 30c3ad102412fe5b7feed15a6b75458a7fb21097 (diff) | |
download | nasm-43f699b9bd9e9a3340fbdd17b869ae3148d9bfe8.tar.gz nasm-43f699b9bd9e9a3340fbdd17b869ae3148d9bfe8.tar.bz2 nasm-43f699b9bd9e9a3340fbdd17b869ae3148d9bfe8.zip |
Fix infinite loop in function saa_fpwrite
-rw-r--r-- | nasmlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -727,6 +727,7 @@ void saa_fpwrite(struct SAA *s, FILE * fp) size_t len; saa_rewind(s); + len = s->datalen; while ((data = saa_rbytes(s, &len)) != NULL) fwrite(data, 1, len, fp); } |