commit | 17215388b5340f3d6eaef17ab5b062bd9fe6209a | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | Thu Aug 03 14:41:04 2023 +0300 |
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | Thu Aug 03 14:41:04 2023 +0300 |
tree | 0fc018befddebb0036229199a779cca6c38dd66c | |
parent | 040bb88c5e0688037f34cf9f37425b5f0a5e72a5 [diff] |
eclair/prepare_gerrit_comment: Fix size trimming logic Previously, we appended a new line and then checked for size limit, which still could lead to size overflow. Now check for size before appending a new line. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: Ib0c55ba52c36e6db9b0fb0d41ed790473af1e9e0