Skip to content

Conversation

@elprans
Copy link
Member

The size of the output buffer in numeric decoder is computed incorrectly
which may lead to stack corruption or access to unitialized memory.

This also fixes incorrect rendering of trailing zeros in some cases.

Fixes: #520
Fixes: #514

The size of the output buffer in numeric decoder is computed incorrectly which may lead to stack corruption or access to unitialized memory. This also fixes incorrect rendering of trailing zeros in some cases. Fixes: #520Fixes: #514
@elpranselprans requested a review from 1st1January 8, 2020 20:04
1st1
1st1 approved these changes Jan 9, 2020
@1st11st1 merged commit 851d586 into masterJan 9, 2020
@1st11st1 deleted the fix-decimal branch January 9, 2020 04:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segmentation fault when there are trailing zeros in numeric values Extra zero decimal digits after decoding NUMERIC (DECIMAL) type

3 participants

@elprans@1st1