-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Crash in FetchMoreBcpData (#1549)
We are crashing here when the implicit batching of packets is happening at the very first phase i.e. reading column metadata phase because the table itself has huge number of columns. Inherently TDS is in a "miscellaneous" mem context during FETCH phase and the allocated pointer thus seems to crash for invalid context during pfree. To fix this we are appending the new packet's data during the FETCH phase rather than freeing the message data which we do in the PROCESS phase. Signed-off-by: Kushaal Shroff <[email protected]>
- Loading branch information
1 parent
2ccf842
commit d1312f0
Showing
3 changed files
with
94 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.