Problem of the application not being safe during scanning