aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2022-02-11 07:20:30 +0000
committerXin Li <delphij@google.com>2022-02-11 07:20:30 +0000
commit3abc4c30f4eb5011fa4d20a28ec7e3f57e25a33b (patch)
treee4999d184f7c314c2be9a80cdb8c023158b36921
parent66189c349a3ad505ea7007912e168ff6cab6e98e (diff)
parent2c9da42d4c7c5aad7ff4fb0c0741259f70e8d411 (diff)
downloadlibcppbor-3abc4c30f4eb5011fa4d20a28ec7e3f57e25a33b.tar.gz
Merge sc-v2-dev-plus-aosp-without-vendor@8084891sam_222710654
Bug: 214455710 Merged-In: If052fcb2b2bbc5e0bfc8cfccc51cef11b9914017 Change-Id: Ib1552db7927c8f588485866121a5af3cfc159d79
-rw-r--r--src/cppbor_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppbor_parse.cpp b/src/cppbor_parse.cpp
index 23ebd6b..9d388a3 100644
--- a/src/cppbor_parse.cpp
+++ b/src/cppbor_parse.cpp
@@ -198,7 +198,7 @@ std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin,
if (begin == end) {
parseClient->error(
begin,
- "Input buffer is empty.");
+ "Input buffer is empty. Begin and end cannot point to the same location.");
return {begin, nullptr};
}