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 files35
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- array.c
- base.c
- cmdline.c
- consoles.c
- cpuinfo.c
- devices.c
- fd.c
- fd.h
- generic.c
- inode.c
- internal.h
- interrupts.c
- kcore.c
- kmsg.c
- loadavg.c
- meminfo.c
- namespaces.c
- nommu.c
- page.c
- proc_net.c
- proc_sysctl.c
- proc_tty.c
- root.c
- self.c
- softirqs.c
- stat.c
- task_mmu.c
- task_nommu.c
- thread_self.c
- uptime.c
- util.c
- version.c
- vmcore.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
fs/proc/util.c
C · 361 bytes#include <linux/dcache.h>
unsigned name_to_int(const struct qstr *qstr)
{
const char *name = qstr->name;
int len = qstr->len;
unsigned n = 0;
if (len > 1 && *name == '0')
goto out;
do {
unsigned c = *name++ - '0';
if (c > 9)
goto out;
if (n >= (~0U-9)/10)
goto out;
n *= 10;
n += c;
} while (--len > 0);
return n;
out:
return ~0U;
}