int i;
bool found, quit;
int bnet_stat = 0;
- char name[MAX_NAME_LENGTH];
+ char name[500];
if (bs->recv() <= 0) {
Emsg0(M_ERROR, 0, _("Connection request failed.\n"));
/*
* Do a sanity check on the message received
*/
- if (bs->msglen < 25 || bs->msglen > (int)sizeof(name)+100) {
+ if (bs->msglen < 25 || bs->msglen > (int)sizeof(name)) {
Dmsg1(000, "<filed: %s", bs->msg);
Emsg1(M_ERROR, 0, _("Invalid connection. Len=%d\n"), bs->msglen);
bs->close();
#undef VERSION
#define VERSION "2.3.4"
-#define BDATE "12 September 2007"
-#define LSMDATE "12Sep07"
+#define BDATE "14 September 2007"
+#define LSMDATE "14Sep07"
#define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
#define BYEAR "2007" /* year for copyright messages in progs */
_Z11db_get_typev\r
_Z12db_sql_queryP4B_DBPKcPFiPviPPcES3_\r
_Z13db_next_indexP3JCRP4B_DBPcS3_\r
-_Z16db_escape_stringPcS_i\r
+_Z16db_escape_stringP3JCRP4B_DBPcS3_i\r
_Z16db_init_databaseP3JCRPKcS2_S2_S2_iS2_i\r
_Z16db_open_databaseP3JCRP4B_DB\r
_Z17db_close_databaseP3JCRP4B_DB\r
Technical notes on version 2.3
General:
+14Sep07
+kes Fix bacula_cats.def for new db_escape_string().
+kes Increase size of name string when FD making connection to SD.
+ May fix bug #953.
13Sep07
kes Add code to help Dan debug 2drive-incremental-2disk test.
kes Add code to try to fix bug #908.