commit | 5f6865cc73ab9e66465180e3b5a181688b70dd20 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Fri Apr 23 23:24:11 2021 -0400 |
committer | Davide Pesavento <davidepesa@gmail.com> | Fri Apr 23 23:48:56 2021 -0400 |
tree | e03e6ec4ea7b7ead1a6dd2c5764186f677a3fd6e | |
parent | dbe645f879e6906945a07935b5da344f8801afd4 [diff] |
encoding: prevent dereferencing of past-the-end iterator in Block::value() If m_buffer is valid but empty, m_valueBegin is equal to m_valueEnd and thus cannot be dereferenced. This could happen with zero-length TLVs, e.g., if a Block is constructed with an empty buffer as TLV value. Change-Id: I254f2d96ba250c38fd832d59e4cd5611beeda6b1
ndn-cxx is a C++14 library implementing Named Data Networking (NDN) primitives that can be used to write various NDN applications. The library is currently being used by the following projects:
See docs/INSTALL.rst
for compilation and installation instructions.
Extensive documentation is available on the library's homepage.
Please submit any bugs or feature requests to the ndn-cxx issue tracker.
We greatly appreciate contributions to the ndn-cxx code base. If you are new to the NDN software community, please read the Contributor's Guide to get started.
ndn-cxx is an open source project licensed under the LGPL version 3. See COPYING.md
for more information.