Hello!

On Thu, 30 Sep 2004, Remi Mommsen wrote:

[...]
> >> +    sprintf(ditto,"/usr/bin/ditto --rsrc %s %s",src,dest);
[...]

Please also make shure that src & dest properly escaped when used in
system(). And don't forget to terminate options ('--') to avoid problems
with files starting with '-'.

Maxim Dounin
Rambler
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel

Reply via email to