#419 closed Bug (fixed)
Dangerous recursive file deletion bug in build_release.bat
Reported by: | Ulf Haueisen | Owned by: | |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | FCKeditor 2.4.3 |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Cc: |
Description
There's a dangerous bug in trunk/_dev/build_release.bat which occurs if the environment variable FCK_RELEASER_PATH is not set. Because fckreleaser.php is called with an empty string as second parameter, the whole drive will be recursively deleted.
Solution:
Change
php releaser/fckreleaser.php ../ "%FCK_RELEASER_PATH%" "%RELEASER_VERSION%"
To
php releaser/fckreleaser.php ../ "%RELEASER_PATH%" "%RELEASER_VERSION%"
Thanks, Ulf Haueisen
Change History (5)
comment:1 follow-up: 3 Changed 18 years ago by
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 follow-up: 4 Changed 18 years ago by
Replying to fredck:
Never mind, it cleared half of my data partition, but I had a fresh backup ;)
comment:4 Changed 18 years ago by
comment:5 Changed 18 years ago by
Milestone: | FCKeditor 2.5 → FCKeditor 2.4.3 |
---|
What a typo! Thanks for the advice ulf.
Fixed with [271].