On 11-9-2019 10:31, Jiří Činčura wrote:
In other words, this is a buffer overflow risk?Nope. You just might to loose some part of the message if it's longer, because it will not fit into buffer.
A right, I had overlooked the use of sizeof. Mark -- Mark Rotteveel Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel