Re: [vchkpw] [bug][patch] - vchkpw/vmysql and Mysql 5

2006-06-29 Thread Tom Collins
This patch is in the upcoming 5.4.17 release. -Tom On May 29, 2006, at 7:05 AM, Ron Gage wrote: Greetings: I don't know if anyone in here is encountering this problem (yet), but it has been affecting me for the past few weeks - ever since I upgraded my MySQL server to 5.0.19. It took quite

Re: [vchkpw] [bug][patch] - vchkpw/vmysql and Mysql 5

2006-06-05 Thread ron
Tom: Quoting Tom Collins [EMAIL PROTECTED]: I already applied a patch to 5.4.16 that looks like it would take care of this condition, and it should be more universal in how it works. Can someone with MySQL try 5.4.16 and see if it fixes the problem? If not, I'll look into adding Ron's

Re: [vchkpw] [bug][patch] - vchkpw/vmysql and Mysql 5

2006-06-05 Thread Tom Collins
On Jun 5, 2006, at 7:37 AM, [EMAIL PROTECTED] wrote: That is what I am running here - 5.4.16. Had the same problem - worked fine for the first 8 hours, then started getting failed auth errors. I minimized the problem from the MySQL side by changing the interactive_timeout and wait_timeout

Re: [vchkpw] [bug][patch] - vchkpw/vmysql and Mysql 5

2006-06-04 Thread tonix (Antonio Nati)
Please DON'T underextimate this patch, and put it in vpopmail soon. When you stop MySQL, all services working with vpopmail library and using permanent connections to MySQL (like courier-authdaemon) will stop working. You must restart them after any mysql failure. With this patch, no need

Re: [vchkpw] [bug][patch] - vchkpw/vmysql and Mysql 5

2006-06-04 Thread Tom Collins
I already applied a patch to 5.4.16 that looks like it would take care of this condition, and it should be more universal in how it works. Can someone with MySQL try 5.4.16 and see if it fixes the problem? If not, I'll look into adding Ron's patch. Tom On Jun 4, 2006, at 7:12 AM, tonix

Re: [vchkpw] [bug][patch] - vchkpw/vmysql and Mysql 5

2006-06-04 Thread Jianbin Xiao
Jianbin Xiao- vmysql: reconnect to server if connection was dropped.This patch can resolv this program. On 5/29/06, Ron Gage [EMAIL PROTECTED] wrote:Greetings: I don't know if anyone in here is encountering this problem (yet), but it hasbeen affecting me for the past few weeks - ever since I

[vchkpw] [bug][patch] - vchkpw/vmysql and Mysql 5

2006-05-29 Thread Ron Gage
Greetings: I don't know if anyone in here is encountering this problem (yet), but it has been affecting me for the past few weeks - ever since I upgraded my MySQL server to 5.0.19. It took quite a bit of digging, but I believe I have found the problem. To describe the problem: when you run

Re: Bug in vchkpw

2000-11-03 Thread Brian Kolaci
in vchkpw I wonder if the memory needs to be malloc'd or if the stack variables in main() are okay. Ken Jones Rick Morris wrote: Hello all. I've found a bug in vchkpw. It tries to add 3 new environment variables, but uses the same buf for each one

Bug in vchkpw

2000-11-02 Thread Rick Morris
Hello all. I've found a bug in vchkpw. It tries to add 3 new environment variables, but uses the same buf for each one, which overwrites the previous values. From the putenv() man page: The string pointed to by string becomes part of the environment, so altering the string

Re: Bug in vchkpw

2000-11-02 Thread Ken Jones
I wonder if the memory needs to be malloc'd or if the stack variables in main() are okay. Ken Jones Rick Morris wrote: Hello all. I've found a bug in vchkpw. It tries to add 3 new environment variables, but uses the same buf for each one, which overwrites the previous values. From