aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2022-03-08 00:17:33 +0000
committerXin Li <delphij@google.com>2022-03-08 00:17:33 +0000
commit273776ac270a1b4a3fef27021926115900a9b9b6 (patch)
treee4999d184f7c314c2be9a80cdb8c023158b36921
parent31258214ed9360e5848889f1b9a68cc5845cc8cb (diff)
parent3abc4c30f4eb5011fa4d20a28ec7e3f57e25a33b (diff)
downloadlibcppbor-273776ac270a1b4a3fef27021926115900a9b9b6.tar.gz
Merge Android 12L
Bug: 222710654 Merged-In: Ib1552db7927c8f588485866121a5af3cfc159d79 Change-Id: Icfc355f7275e9fcd2550fceac11c6f07aad59217
-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};
}