Commit graph

158 commits

Author SHA1 Message Date
unknown
029af2b126 Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into  zippy.cornsilk.net:/home/cmiller/work/mysql/m50-maint-b21224


client/mysql_upgrade.c:
  Auto merged
2006-08-23 10:47:46 -04:00
unknown
943543ba09 Bug#21224: mysql_upgrade uses possibly insecure temporary files
We open for writing a known location, which is exploitable with a symlink
attack.  Now, use the EXCLusive flag, so that the presence of anything at 
that location causes a failure.  Try once to open safely, and if failure 
then remove that location and try again to open safely.  If both fail, then
raise an error.


client/mysql_upgrade.c:
  Open the file with the O_EXCL flag, so that a symlink attack would not work.
  
  If opening it fails, try removing something at that location, and try again.
  If the second time fails, then abort as previous.
2006-08-11 15:31:06 -04:00
unknown
2b4048c0fe Merge bk@192.168.21.1:mysql-5.0-kt
into  mysql.com:/home/hf/work/mysql-5.0.19452


client/mysql_upgrade.c:
  Auto merged
2006-08-02 14:17:16 +05:00
unknown
cbb65b525a bug #20950 (mysql_upgrade looks for 'mysqlcheck' not for 'mysqlcheck.exe'
on Windows.

Code added to look for different names on Windows


client/mysql_upgrade.c:
  added conditionally-compiled part to look for different names of tools
  on Windows
2006-07-21 17:02:04 +05:00
unknown
dc692283ee bug #19452 (mysql_upgrade reads [client] section but doesn't handle [host] option
client/mysql_upgrade.c:
  "client" group removed from the 'readlist'
2006-07-03 14:22:39 +05:00
unknown
521d6b3dab Win build fix 2006-05-02 08:59:49 +05:00
unknown
57b21b5bdb Fix for Win build
BitKeeper/etc/ignore:
  Added client/mysql_upgrade to the ignore list
client/mysql_upgrade.c:
  fixed for Win build
include/config-win.h:
  fixed for Win build
2006-05-01 22:16:08 +05:00
unknown
82c45de638 bug #18115 (mysql_upgrade on Windows)
pushed in 5.0


VC++Files/mysql.dsw:
  mysql_upgrade tool added
VC++Files/mysql.sln:
  mysql_upgrade tool added
VC++Files/mysql_ia64.dsw:
  mysql_upgrade tool added
client/Makefile.am:
  mysql_upgrade tool added
2006-04-28 09:07:25 +05:00