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 files125
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- dts/
- .gitignore
- 44x.h
- 4xx.c
- 4xx.h
- Makefile
- README
- addnote.c
- bamboo.c
- cpm-serial.c
- crt0.S
- crtsavres.S
- cuboot-52xx.c
- cuboot-824x.c
- cuboot-83xx.c
- cuboot-85xx-cpm2.c
- cuboot-85xx.c
- cuboot-8xx.c
- cuboot-acadia.c
- cuboot-amigaone.c
- cuboot-bamboo.c
- cuboot-ebony.c
- cuboot-hotfoot.c
- cuboot-katmai.c
- cuboot-kilauea.c
- cuboot-mpc7448hpc2.c
- cuboot-pq2.c
- cuboot-rainier.c
- cuboot-sam440ep.c
- cuboot-sequoia.c
- cuboot-taishan.c
- cuboot-warp.c
- cuboot-yosemite.c
- cuboot.c
- cuboot.h
- dcr.h
- decompress.c
- devtree.c
- div64.S
- dummy.c
- ebony.c
- elf.h
- elf_util.c
- ep405.c
- ep8248e.c
- ep88xc.c
- epapr-wrapper.c
- epapr.c
- fixed-head.S
- fixup-headers.sed
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/powerpc/boot/stdlib.c
C · 934 bytes/*
* stdlib functions
*
* Author: Scott Wood <[email protected]>
*
* Copyright (c) 2007 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#include "stdlib.h"
/* Not currently supported: leading whitespace, sign, 0x prefix, zero base */
unsigned long long int strtoull(const char *ptr, char **end, int base)
{
unsigned long long ret = 0;
if (base > 36)
goto out;
while (*ptr) {
int digit;
if (*ptr >= '0' && *ptr <= '9' && *ptr < '0' + base)
digit = *ptr - '0';
else if (*ptr >= 'A' && *ptr < 'A' + base - 10)
digit = *ptr - 'A' + 10;
else if (*ptr >= 'a' && *ptr < 'a' + base - 10)
digit = *ptr - 'a' + 10;
else
break;
ret *= base;
ret += digit;
ptr++;
}
out:
if (end)
*end = (char *)ptr;
return ret;
}