Actions
Bug #3256
closedlp::Packet::wireDecode does not check TLV-TYPE
Start date:
10/09/2015
Due date:
% Done:
0%
Estimated time:
0.50 h
Description
Snippet to reproduce:
// g++ -o x -std=c++0x x.cpp $(pkg-config --cflags --libs libndn-cxx)
#include <ndn-cxx/lp/packet.hpp>
#include <ndn-cxx/encoding/block-helpers.hpp>
using namespace ndn;
int main()
{
Block packet = encoding::makeEmptyBlock(tlv::Name);
lp::Packet lpPacket(packet);
return 0;
}
Expected: exception
Actual: no exception
Updated by Eric Newberry about 9 years ago
- Status changed from New to In Progress
Updated by Eric Newberry about 9 years ago
- Status changed from In Progress to Code review
Updated by Eric Newberry about 9 years ago
- Status changed from Code review to Closed
Actions