We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1982463 commit fa2d536Copy full SHA for fa2d536
src/plugins/process/common/tlsParser/extensionReaders/extensionReader.hpp
@@ -50,9 +50,9 @@ class ExtensionReader : public RangeReader {
50
if (sizeof(type) + sizeof(length) + length > payload.size()) {
51
return std::nullopt;
52
}
53
- payload = payload.subspan(sizeof(type) + sizeof(length) + length);
54
55
const std::byte* extensionBegin = payload.data() + sizeof(type) + sizeof(length);
+ payload = payload.subspan(sizeof(type) + sizeof(length) + length);
56
return TLSExtension {type, {extensionBegin, length}};
57
});
58
0 commit comments