mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:00:38 +01:00
Fixed CORE-5157: Server goes into infinite loop when data is sent from client to the service in small packets
This commit is contained in:
parent
1c548a533c
commit
985ee4bbbc
@ -75,6 +75,8 @@ const int MAX_HEADER_SIZE = 512;
|
||||
|
||||
static inline int get(BurpGlobals* tdgbl)
|
||||
{
|
||||
if (tdgbl->mvol_io_cnt <= 0)
|
||||
MVOL_read(NULL, NULL);
|
||||
return (--tdgbl->mvol_io_cnt >= 0 ? *tdgbl->mvol_io_ptr++ : 255);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user