|
From: Mike N. <ta...@al...> - 2001-10-26 11:39:47
|
Some notes. I've found one problem in isql. It defined DB_name to only hold 128 chars, and not checking that the filename did fit in this space. I changed it to 1k, but it seems like a pretty bad solution anyway to carry around fixed-size filename buffers. Another problem that has to do with error reporting and truncated filenames is that iberr.h defines MAX_ERRSTR_LEN to 255. I.e. the maximum length of any error message (including path+filename) is 255 chars. This will obviously fail to report the real filename. Just a few observations. /Mike |