Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files63
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Makefile
- f_acm.c
- f_ecm.c
- f_eem.c
- f_fs.c
- f_hid.c
- f_loopback.c
- f_mass_storage.c
- f_mass_storage.h
- f_midi.c
- f_ncm.c
- f_obex.c
- f_phonet.c
- f_printer.c
- f_rndis.c
- f_serial.c
- f_sourcesink.c
- f_subset.c
- f_tcm.c
- f_uac1.c
- f_uac1_legacy.c
- f_uac2.c
- f_uvc.c
- f_uvc.h
- g_zero.h
- ndis.h
- rndis.c
- rndis.h
- storage_common.c
- storage_common.h
- tcm.h
- u_audio.c
- u_audio.h
- u_ecm.h
- u_eem.h
- u_ether.c
- u_ether.h
- u_ether_configfs.h
- u_fs.h
- u_gether.h
- u_hid.h
- u_midi.h
- u_ncm.h
- u_phonet.h
- u_printer.h
- u_rndis.h
- u_serial.c
- u_serial.h
- u_tcm.h
- u_uac1.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/usb/gadget/function/u_midi.h
Text · 702 bytes// SPDX-License-Identifier: GPL-2.0
/*
* u_midi.h
*
* Utility definitions for the midi function
*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Author: Andrzej Pietrasiewicz <[email protected]>
*/
#ifndef U_MIDI_H
#define U_MIDI_H
#include <linux/usb/composite.h>
struct f_midi_opts {
struct usb_function_instance func_inst;
int index;
char *id;
bool id_allocated;
unsigned int in_ports;
unsigned int out_ports;
unsigned int buflen;
unsigned int qlen;
/*
* Protect the data form concurrent access by read/write
* and create symlink/remove symlink.
*/
struct mutex lock;
int refcnt;
};
#endif /* U_MIDI_H */