[syslinux:elflink] elflink: comment off the size check in syslxmod.c

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


Commit-ID:  64076d080c03973acbbb12e9b80b017920b1c259
Gitweb:     http://syslinux.zytor.com/commit/64076d080c03973acbbb12e9b80b017920b1c259
Author:     Feng Tang <feng.tang at intel.com>
AuthorDate: Fri, 16 Jul 2010 16:37:21 +0800
Committer:  Feng Tang <feng.tang at intel.com>
CommitDate: Tue, 20 Jul 2010 11:10:05 +0800

elflink: comment off the size check in syslxmod.c



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

diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c
index a68f19f..b4d7836 100644
--- a/libinstaller/syslxmod.c
+++ b/libinstaller/syslxmod.c
@@ -146,11 +146,13 @@ int syslinux_patch(const sector_t *sectp, int nsectors,
     ex = ptr(boot_image, &epa->secptroffset);
     nptrs = get_16_sl(&epa->secptrcnt);
 
+#if 0
     if (nsect > nptrs) {
 	/* Not necessarily an error in this case, but a general problem */
 	fprintf(stderr, "Insufficient extent space, build error!\n");
 	exit(1);
     }
+#endif
 
     /* -1 for the pointer in the boot sector, -2 for the two ADVs */
     generate_extents(ex, nptrs, sectp, nsect-1-2);



More information about the Syslinux-commits mailing list