I am having a Encryption minifilter driver and it is working fine.but sometimes bsod in the following scenario:
Suppose i am performing a copy operation of 4gb file form plain folder to encrypted folder before that i am successfully able to handle set/get file information callbacks.my fcb is updated properly as per the operation but after some time the size of my file getting set to ZERO i checked in my FCB since lower fcb’s filesize is not zero.due to that all the further operation failing and resulted in a bsod.
query:1. is it possible that filesize sets to zero? if yes how?
as per my understanding in pagingio size of a file can’t be chaged.
2.is there any way to resolve this behavior.
any help much appreciated.
Thanks.