src/ramdisk.c: The "from" and "to" locations are calculated as
the start of the block within the ram that data is to be transferred
from/to for reads and writes respectively. However, within
the loops, the "from" and "to" locations are never updated. The loop
should have been updated as:
from += rd->block_size;
and
to += rd->block_size;
within the for loops in the ramdisk_read and ramdisk_write routines,
respectively.
(No files)
Note: See TracChangeset
for help on using the changeset viewer.