Hi!

20-Июл-2004 10:09 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:

BO> Improved diagnostics (Eric Auer) Adjusted help.
BO> +++ mem.c   20 Jul 2004 10:09:00 -0000      1.8
BO> +    while (mlist!=NULL && mlist->seg != lastconseg) {
----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
BO> +        if (mlist->next==NULL) {
BO> +            fatal("UMB Corruption: Chain doesn't reach top of low RAM at
BO> %dk. Last=0x%x.\n",
BO> +                lastconseg/64, mlist->seg);
BO> +        }
BO>          mlist=mlist->next;
BO> +    }
BO> +    /* should not be reached anymore: */
BO> +    if (mlist->next==NULL)
-------------^^^^^^^^^^^^^^^^^
BO> +        fatal("Fell of end of memory chain - UMB corruption?\n");
BO> +
BO>      mlist=mlist->next;

     As I already report, "mlist->next==NULL" will never happen, but
"mlist==NULL" is possible, thus bug with dereferencing NULL is remained.




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to