Hi!
20-Июл-2004 22:26 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
>> BO> + while (mlist!=NULL && mlist->seg != lastconseg) {
>> ----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> BO> + /* should not be reached anymore: */
>> BO> + if (mlist->next==NULL)
>> -------------^^^^^^^^^^^^^^^^^
>> 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.
BO> Did Eric agree with you? He didn't send me an update.
"Agreed" about what? Notwithstanding if Eric agreed or not (though, I
notify he when look at his patch), but after above mentioned loop `mlist'
may be NULL, and current code not prevents to dereference NULL pointer.
-------------------------------------------------------
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