Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Interrupting appending deletes destination!!!

Recommended Posts

dandv    0

1. Create a target file, say target.ext

2. Find a big enough file to allow you some time while it gets copied.

3. Copy the big file over target.ext and at the Confirm prompt choose Append.

4. While the big file is appended to the target file, stop the operation.

5. Notice that the target file has been deleted!!!

 

This is potentially disastruous. What NDN should do whe the

user interrupts the appending process is stop appending and truncate

target.ext to its original size.

 

BTW, this is also a bug in DNOSP, but ssshhh, don't tell them :-)

 

Hope this helps,

Dan Dascalescu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×