[syslinux:elflink] elflink: prepcore: comments off size check for temp

syslinux-bot for Feng Tang feng.tang at intel.com
Thu Aug 12 21:03:53 PDT 2010


Commit-ID:  967eb65904c0de527fccee529187bf0dcb4af989
Gitweb:     http://syslinux.zytor.com/commit/967eb65904c0de527fccee529187bf0dcb4af989
Author:     Feng Tang <feng.tang at intel.com>
AuthorDate: Wed, 14 Jul 2010 10:44:30 +0800
Committer:  Feng Tang <feng.tang at intel.com>
CommitDate: Tue, 20 Jul 2010 11:10:04 +0800

elflink: prepcore: comments off size check for temp



---
 lzo/prepcore.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lzo/prepcore.c b/lzo/prepcore.c
index 1d40067..9147b2e 100644
--- a/lzo/prepcore.c
+++ b/lzo/prepcore.c
@@ -340,10 +340,12 @@ int main(int argc, char *argv[])
 	set_32((uint32_t *) (infile + soff + 4), csum);
     }
 
+	/*
     if (offset+outfile_len > get_32(&prefix->pfx_maxlma))
 	error("output too big (%lu, max %lu)",
 	      (unsigned long)offset+outfile_len,
 	      (unsigned long)get_32(&prefix->pfx_maxlma));
+	      */
 
     f = fopen(out_name, "wb");
     if (!f)



More information about the Syslinux-commits mailing list