Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5634)

Issue 349720043: ticket:13840 Fixing memory overflow issue in number_decimalquantity.cpp (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
5 years, 10 months ago by sffc
Modified:
5 years, 10 months ago
Reviewers:
andy.heninger
Base URL:
svn+icussh://source.icu-project.org/repos/icu/trunk/
Visibility:
Public.

Description

ticket:13840 Fixing memory overflow issue in number_decimalquantity.cpp

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adding test in Java. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -1 line) Patch
M icu4c/source/i18n/number_decimalquantity.cpp View 1 chunk +1 line, -1 line 0 comments Download
M icu4c/source/test/intltest/numfmtst.h View 1 chunk +1 line, -0 lines 0 comments Download
M icu4c/source/test/intltest/numfmtst.cpp View 2 chunks +31 lines, -0 lines 0 comments Download
M icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/NumberFormatTest.java View 1 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 4
sffc
5 years, 10 months ago (2018-06-19 21:24:48 UTC) #1
sffc
Adding test in Java.
5 years, 10 months ago (2018-06-19 21:48:39 UTC) #2
andy.heninger
LGTM. Optional: use uprv_realloc instead of separate malloc & free to resize. https://codereview.appspot.com/349720043/diff/1/icu4c/source/i18n/number_decimalquantity.cpp File icu4c/source/i18n/number_decimalquantity.cpp ...
5 years, 10 months ago (2018-06-19 21:49:12 UTC) #3
andy.heninger
5 years, 10 months ago (2018-06-19 21:52:13 UTC) #4
LGTM for the Java test.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b