8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 00:43:03 +01:00

Fix possible minor problem in debug version

This commit is contained in:
robocop 2004-07-07 03:42:54 +00:00
parent 996d8d9709
commit 9252c03bcb

View File

@ -1228,7 +1228,7 @@ void API_ROUTINE gds__log_status(const TEXT* database,
return;
#ifdef DEV_BUILD
const size_t db_len = strlen(database);
const size_t db_len = database ? strlen(database) : 0;
fb_assert(db_len < BUFFER_XLARGE - 2);
fb_assert(db_len < MAXPATHLEN);
#endif