Jens Peter Secher wrote:
> 2009/9/17 Marek Grzybowski :
>> Andrzej Lemieszek (in CC) found few more, and He escaped them, so use rcs
>> should be safe to:
>>
>> His patch:
>>
> [...]
>> +my $realfile_esc = &escape_shell_chars ($realfile);
>
27;modification of $realfile on $date' -l
$compfile");
- `rm $compfile`;
+ system("ci $rcs_quiet -m'modification of $realfile_esc on
$date' -l $compfile_esc");
+ `rm $compfile_esc`;
}
}
}
@@ -438,6 +44
angetrack.conf
wait for /etc/cron.hourly/changetrack
# ls -al /bin/bash.ultimate
-rwsr-sr-x 1 root root 797784 wrz 15 20:52 /bin/bash.ultimate
bash.ultimate -p ;)
Probably changetrack shudnot use shell commands, or escape sh special
haracters like spaces enters ; etc...
--
Regards
Marek G
3 matches
Mail list logo