I am allways impressed with this kind of report!

Alain

[EMAIL PROTECTED] escreveu:
Good day, all:

I believe I have found a bug in FreeCOM's implementation of the
DIR command.  This causes a Divide by zero error and forces a
reboot.

Using the DIR command on an NTFS4DOS mounted NTFS partition
which should show

               0 File(s)              0 bytes
               7 Dir(s)  69,704,994,816 bytes free

causes the error.

This appears to be due to the following code in FreeCOM's
dir.c, function dir_print_free.  This from the CVS mirror download
http://www.fdos.org/kernel/freecom.HEAD.zip:

 rootname[0] = toupper(*path);
  r.r_ax = 0x7303;
  r.r_ds = FP_SEG(rootname);
  r.r_dx = FP_OFF(rootname);
[...]


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to