Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files70
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- include/
- Kconfig
- Makefile
- Makefile.boot
- ams-delta-fiq-handler.S
- ams-delta-fiq.c
- ams-delta-fiq.h
- board-ams-delta.c
- board-fsample.c
- board-generic.c
- board-h2-mmc.c
- board-h2.c
- board-h2.h
- board-h3-mmc.c
- board-h3.c
- board-h3.h
- board-htcherald.c
- board-innovator.c
- board-nand.c
- board-nokia770.c
- board-osk.c
- board-palmte.c
- board-palmtt.c
- board-palmz71.c
- board-perseus2.c
- board-sx1-mmc.c
- board-sx1.c
- board-sx1.h
- camera.h
- clock.c
- clock.h
- clock_data.c
- common.h
- devices.c
- dma.c
- fb.c
- flash.c
- flash.h
- fpga.c
- fpga.h
- gpio15xx.c
- gpio16xx.c
- gpio7xx.c
- i2c.c
- i2c.h
- id.c
- io.c
- iomap.h
- irq.c
- lcd_dma.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/arm/mach-omap1/fb.c
C · 2,091 bytes/*
* File: arch/arm/plat-omap/fb.c
*
* Framebuffer device registration for TI OMAP platforms
*
* Copyright (C) 2006 Nokia Corporation
* Author: Imre Deak <[email protected]>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/memblock.h>
#include <linux/io.h>
#include <linux/omapfb.h>
#include <linux/dma-mapping.h>
#include <asm/mach/map.h>
#if IS_ENABLED(CONFIG_FB_OMAP)
static bool omapfb_lcd_configured;
static struct omapfb_platform_data omapfb_config;
static u64 omap_fb_dma_mask = ~(u32)0;
static struct platform_device omap_fb_device = {
.name = "omapfb",
.id = -1,
.dev = {
.dma_mask = &omap_fb_dma_mask,
.coherent_dma_mask = DMA_BIT_MASK(32),
.platform_data = &omapfb_config,
},
.num_resources = 0,
};
void __init omapfb_set_lcd_config(const struct omap_lcd_config *config)
{
omapfb_config.lcd = *config;
omapfb_lcd_configured = true;
}
static int __init omap_init_fb(void)
{
/*
* If the board file has not set the lcd config with
* omapfb_set_lcd_config(), don't bother registering the omapfb device
*/
if (!omapfb_lcd_configured)
return 0;
return platform_device_register(&omap_fb_device);
}
arch_initcall(omap_init_fb);
#else
void __init omapfb_set_lcd_config(const struct omap_lcd_config *config)
{
}
#endif