[Full-disclosure] annoying bug in Windows XP

Jerome Athias jerome.athias at free.fr
Sun Oct 16 10:16:25 BST 2005


Hi,

maybe something similar to this:

http://seclists.org/lists/vuln-dev/2005/Feb/0007.html

Frank Dietrich wrote:

>Hi to all readers,
>
>this day I found a annoying misbehavior in Windows XP professional
>with SP2. 
>
>I had a directory with some Java sources (*.java) and some backup
>files (*.jav). Because I din't longer need the backup files I would
>delete them with 'del *.jav'. But this command also delete all the
>source files. #§%*. The last backup was 4 hours ago. :-/
>
>So I tried what happen and the result is the command above checks
>only the first three chars from the extension (DOS is alive).
>
>Here is how you can reproduce it:
>
>mkdir testbug
>cd testbug
>rem.>file1.jav
>rem.>file2.java
>rem.>file3.javas
>del *.jav
>
>All three files are deleted. Is this a known bug or a unknown feature?
>
>Frank
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5213 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20051016/f7b7ce14/attachment.bin 


Full-Disclosure is hosted and sponsored by Secunia.