23.07.2018 19:42, Vlad Khorsun wrote:
Note, upper allowed value for INET_remote_buffer is MAX_DATA_HW (32768).

  That's bad.

> const SSHORT l = (SSHORT) MIN(length, INET_remote_buffer)

  If length >= INET_remote_buffer and INET_remote_buffer == 32768, l will be -1.


--
  WBR, SD.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to