Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files52
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Makefile
- clip_tbl.c
- clip_tbl.h
- cudbg_common.c
- cudbg_entity.h
- cudbg_if.h
- cudbg_lib.c
- cudbg_lib.h
- cudbg_lib_common.h
- cudbg_zlib.c
- cudbg_zlib.h
- cxgb4.h
- cxgb4_cudbg.c
- cxgb4_cudbg.h
- cxgb4_dcb.c
- cxgb4_dcb.h
- cxgb4_debugfs.c
- cxgb4_debugfs.h
- cxgb4_ethtool.c
- cxgb4_fcoe.c
- cxgb4_fcoe.h
- cxgb4_filter.c
- cxgb4_filter.h
- cxgb4_main.c
- cxgb4_ptp.c
- cxgb4_ptp.h
- cxgb4_tc_flower.c
- cxgb4_tc_flower.h
- cxgb4_tc_u32.c
- cxgb4_tc_u32.h
- cxgb4_tc_u32_parse.h
- cxgb4_uld.c
- cxgb4_uld.h
- l2t.c
- l2t.h
- sched.c
- sched.h
- sge.c
- smt.c
- smt.h
- srq.c
- srq.h
- t4_chip_type.h
- t4_hw.c
- t4_hw.h
- t4_msg.h
- t4_pci_id_tbl.h
- t4_regs.h
- t4_tcb.h
- t4_values.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.h
Text · 1,218 bytes/*
* Copyright (C) 2018 Chelsio Communications. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* The full GNU General Public License is included in this distribution in
* the file called "COPYING".
*
*/
#ifndef __CUDBG_ZLIB_H__
#define __CUDBG_ZLIB_H__
#include <linux/zlib.h>
#define CUDBG_ZLIB_COMPRESS_ID 17
#define CUDBG_ZLIB_WIN_BITS 12
#define CUDBG_ZLIB_MEM_LVL 4
struct cudbg_compress_hdr {
u32 compress_id;
u64 decompress_size;
u64 compress_size;
u64 rsvd[32];
};
static inline int cudbg_get_workspace_size(void)
{
return zlib_deflate_workspacesize(CUDBG_ZLIB_WIN_BITS,
CUDBG_ZLIB_MEM_LVL);
}
int cudbg_compress_buff(struct cudbg_init *pdbg_init,
struct cudbg_buffer *pin_buff,
struct cudbg_buffer *pout_buff);
#endif /* __CUDBG_ZLIB_H__ */