Fix do_md5(). If raw mode or number of backend is 1, pgpool child segfaults. patch contributed by Rob Shepherd, slight editing by Tatsuo Ishii.
Fix do_md5(). If raw mode or number of backend is 1, pgpool child segfaults.
patch contributed by Rob Shepherd, slight editing by Tatsuo Ishii.

Fix read_password_packet(). Guard against invalid password lenghth.

Fix send_password_packet(). password string in a password packet must be
a "string" message type, which must has a null termination. Otherwise
you will see "invalid passoword packet size" error message in backend.

treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres