Exploit databaseDownload repository ZIP
GH-a7883118b07d6b016ba101c8b172f55f
alikarimi999/cve-2021-40346
Sources for CVE-2021-40346
6 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files196
alikarimi999/cve-2021-40346Revision eb4156546a2c
- ↑..Parent directory
- acl-t.h
- acl.h
- action-t.h
- action.h
- activity-t.h
- activity.h
- api-t.h
- api.h
- applet-t.h
- applet.h
- arg-t.h
- arg.h
- atomic.h
- auth-t.h
- auth.h
- backend-t.h
- backend.h
- base64.h
- buf-t.h
- buf.h
- bug.h
- capture-t.h
- capture.h
- cfgparse.h
- channel-t.h
- channel.h
- check-t.h
- check.h
- chunk.h
- cli-t.h
- cli.h
- compat.h
- compiler.h
- compression-t.h
- compression.h
- connection-t.h
- connection.h
- counters-t.h
- debug.h
- defaults.h
- dgram-t.h
- dgram.h
- dict-t.h
- dict.h
- dns-t.h
- dns.h
- dynbuf-t.h
- dynbuf.h
- errors.h
- extcheck.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
haproxy/include/haproxy/protobuf-t.h
Text · 2,260 bytes/*
* include/haproxy/protobuf-t.h
* This file contains structure declarations for protocol buffers.
*
* Copyright 2012 Willy Tarreau <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, version 2.1
* exclusively.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_PROTOBUF_T_H
#define _HAPROXY_PROTOBUF_T_H
#include <haproxy/api-t.h>
enum protobuf_wire_type {
PBUF_TYPE_VARINT,
PBUF_TYPE_64BIT,
PBUF_TYPE_LENGTH_DELIMITED,
PBUF_TYPE_START_GROUP, /* Deprecated */
PBUF_TYPE_STOP_GROUP, /* Deprecated */
PBUF_TYPE_32BIT,
};
enum protobuf_type {
/* These enums are used to initialize calloc()'ed struct fields.
* Start them from 1 to avoid collisions with the default 0 value
* of such struct fields.
*/
PBUF_T_BINARY = 1,
/* Do not reorder the following ones:
* PBUF_T_VARINT_*, PBUF_T_32BIT_* and PBUF_T_64BIT_*
*/
PBUF_T_VARINT_INT32,
PBUF_T_VARINT_UINT32,
PBUF_T_VARINT_INT64,
PBUF_T_VARINT_UINT64,
PBUF_T_VARINT_BOOL,
PBUF_T_VARINT_ENUM,
/* These two following varints are first encoded with zigzag. */
PBUF_T_VARINT_SINT32,
PBUF_T_VARINT_SINT64,
/* Fixed size types from here. */
PBUF_T_32BIT_FIXED32,
PBUF_T_32BIT_SFIXED32,
PBUF_T_32BIT_FLOAT,
PBUF_T_64BIT_FIXED64,
PBUF_T_64BIT_SFIXED64,
PBUF_T_64BIT_DOUBLE,
};
struct pbuf_fid {
unsigned int *ids;
size_t sz;
};
struct sample;
struct protobuf_parser_def {
int (*skip)(unsigned char **pos, size_t *left, size_t vlen);
int (*smp_store)(struct sample *, int type,
unsigned char *pos, size_t left, size_t vlen);
};
#endif /* _HAPROXY_PROTOBUF_T_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* End:
*/