Re: [Firebird-devel] getInfo() result format

2022-09-08 Thread Alex Peshkoff via Firebird-devel
On 9/8/22 12:49, Dimitry Sibiryakov wrote: Alex Peshkoff via Firebird-devel wrote 07.09.2022 18:40: Do not remember - does ClumpletReader already supports getInfo() result format?   Sorry, can't remember. Supports, down to FB3. I.e. looks like we need an src review. Add a ticket please.

Re: [Firebird-devel] getInfo() result format

2022-09-08 Thread Dimitry Sibiryakov
Alex Peshkoff via Firebird-devel wrote 07.09.2022 18:40: Do not remember - does ClumpletReader already supports getInfo() result format? Sorry, can't remember. -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] getInfo() result format

2022-09-07 Thread Alex Peshkoff via Firebird-devel
On 9/7/22 19:33, Dimitry Sibiryakov wrote:   At fourth line you can get read-past-buffer and may be crash. And this code is copy-pasted everywhere in Firebird source. Do not remember - does ClumpletReader already supports getInfo() result format? Firebird-Devel mailing list, web interf

Re: [Firebird-devel] getInfo() result format

2022-09-07 Thread Dimitry Sibiryakov
Alex Peshkoff via Firebird-devel wrote 07.09.2022 18:26: Not sure what you mean by 'terminal item', but it may be followed by isc_info_end if that fits into buffer. What about two bytes length - it's single-byte item not followed by anything. see how it's added: Ok, now see how it is handle

Re: [Firebird-devel] getInfo() result format

2022-09-07 Thread Alex Peshkoff via Firebird-devel
On 9/7/22 19:18, Dimitry Sibiryakov wrote: Hello All.   isc_info_truncated is a terminal item which is NOT followed by two bytes length, right? Not sure what you mean by 'terminal item', but it may be followed by isc_info_end if that fits into buffer. What about two bytes length - it's sin

[Firebird-devel] getInfo() result format

2022-09-07 Thread Dimitry Sibiryakov
Hello All. isc_info_truncated is a terminal item which is NOT followed by two bytes length, right? -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel