I also found a buffer overrun bug in the get_filename function (if your filename does not have an ending quote).
It looks like the easiest way to fix the bug is to change the
get_filename function to support non HPFS characters. I'm
guessing this was originally written to run exclusively on HPFS
systems? Is this tool still suppose to support HPFS file
systems? If so maybe we could add a runtime check to see what
kind of fs the program is being run on (or a compile time check
if we are guaranteed that each system with a different file
system will use a different build, I'm guessing this is not the
case.) If HPFS does not need to be supported then the fix is
really easy.
- Optlink Contribution Jonathan Marler via Digitalmars-d
- Re: Optlink Contribution Walter Bright via Digitalmars-d
- Re: Optlink Contribution w0rp via Digitalmars-d
- Re: Optlink Contribution Jonathan Marler via Digitalmars-d
- Re: Optlink Contribution Kagamin via Digitalmars-d
- Re: Optlink Contribution Rikki Cattermole via Digitalmars-d
- Re: Optlink Contribution Joakim via Digitalmars-d
- Re: Optlink Contributi... Rikki Cattermole via Digitalmars-d
- Re: Optlink Contr... Joakim via Digitalmars-d
- Re: Optlink C... Rikki Cattermole via Digitalmars-d
- Re: Optlink C... w0rp via Digitalmars-d
- Re: Optli... Daniel Murphy via Digitalmars-d
- Re: Optli... w0rp via Digitalmars-d
- Re: Optli... Daniel Murphy via Digitalmars-d
