You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified isql's show.epp in the following way:
- Added the item isc_info_db_id to the array "db_items" near the top of the file.
- Changed SHOW_dbb_parameters() so it uses a temporary buffer of length 400 bytes to be able to receive the result.
- In the same function, to the switch() that decodes the information, I added the following:
// Will print with garbage for now\.
//It's sprintf\(info, "DB/Host = %\.\*s", length, d\);
printf\("DB/Host = %\.\*s", length, d\);
return info \> info\_buf; // If we got some items, we are \(partially\) successful\.
- Preprocessed, compiled isql and did the command SHOW DATABASE. Nothing strange.
- Created the following path
and put inside it the db named z234567.fdb
This was the maximum length I could achieve in W2k by normal means. Using escape sequences (using the NT namespaces) it's possible to go further.
- Connected with isql and did SHOW DATABASE again. This time the engine crashes. No surprise, since it's writing more than 300 bytes into a 256 bytes array.