Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Etherboot 4.2.10 and bootp extension file




Emanuele,

Hope you're reading this the list. Here's another patch needed which I
think expresses the intent of the original author correctly.

--- ../../etherboot-4.2.10/src-32/main.c        Mon Nov 15 23:16:48 1999
+++ ./main.c    Wed Nov 24 10:26:27 1999
@@ -850,7 +850,7 @@
                                return(0); /* no RFC 1533 header found */
                        p += 4;
                        len -= 4; }
-               if (extend + len <= ((unsigned char *)BOOTP_DATA_ADDR)+1) {
+               if (extend + len <= (unsigned char *)&(BOOTP_DATA_ADDR->bootp_extension[MAX_BOOTP_EXTLEN])) {
                        bcopy(p, extend, len);
                        extend += len;
                } else {

===========================================================================
This Mail was sent to netboot mailing list by:
Ken Yap <ken@nlc.net.au>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.