This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Function fds_stat never returns

Hi

I've implemented support for the FStorage and the FDS in our application. In some cases it happens, that the function "fds_stat" does not return.

The reason can be found in the subfunction "dirty_records_stat". If an invalid header is found the pointer p_rec is not increased and the while loop will never be left.

I assume that there is an increase of the pointer missing?

Regards Adrian

Parents
  • Thank you for reporting this bug, it is much appreciated!

    I do not know if increasing the pointer would fix this, as calculating the next p_rec depends on information from the record header (which in the given case is invalid). I have registered the issue in our internal issue tracker, so that the developers will have a look at it and find a solution.

Reply
  • Thank you for reporting this bug, it is much appreciated!

    I do not know if increasing the pointer would fix this, as calculating the next p_rec depends on information from the record header (which in the given case is invalid). I have registered the issue in our internal issue tracker, so that the developers will have a look at it and find a solution.

Children
No Data
Related