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 a814a19 commit e30c9ceCopy full SHA for e30c9ce
lib/msh3.hpp
@@ -52,6 +52,7 @@ enum H3SettingsType {
52
// Contiguous buffer for (non-null-terminated) header name and value strings.
53
struct H3HeadingPair : public lsxpack_header_t {
54
char Buffer[512] = {0};
55
+ H3HeadingPair() { memset(this, 0, sizeof(lsxpack_header_t)); }
56
bool Set(const MSH3_HEADER* Header) {
57
if (Header->NameLength + Header->ValueLength > sizeof(Buffer)) return false;
58
buf = Buffer;
0 commit comments