Exploit databaseDownload repository ZIP
GH-557a35ec88cecc5153df8ffeda95d1c2
bob11vrdp/cve-2022-39425
Sources for CVE-2022-39425
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files42
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- hci/
- ipxe/
- readline/
- sys/
- usr/
- alloca.h
- assert.h
- big_bswap.h
- bootp.h
- byteswap.h
- coff.h
- compiler.h
- cpu.h
- ctype.h
- curses.h
- elf.h
- endian.h
- errno.h
- etherboot.h
- fs.h
- getopt.h
- i82365.h
- libgen.h
- linux_api.h
- little_bswap.h
- mii.h
- nic.h
- old_tcp.h
- pc_kbd.h
- pcmcia-opts.h
- pcmcia.h
- stdarg.h
- stddef.h
- stdint.h
- stdio.h
- stdlib.h
- string.h
- strings.h
- sys_info.h
- syslog.h
- time.h
- unistd.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Devices/PC/ipxe/src/include/strings.h
Text · 1,105 bytes#ifndef _STRINGS_H
#define _STRINGS_H
FILE_LICENCE ( GPL2_OR_LATER );
#include <limits.h>
#include <string.h>
static inline __attribute__ (( always_inline )) int
__constant_flsl ( unsigned long x ) {
int r = 0;
#if ULONG_MAX > 0xffffffff
if ( x & 0xffffffff00000000UL ) {
x >>= 32;
r += 32;
}
#endif
if ( x & 0xffff0000UL ) {
x >>= 16;
r += 16;
}
if ( x & 0xff00 ) {
x >>= 8;
r += 8;
}
if ( x & 0xf0 ) {
x >>= 4;
r += 4;
}
if ( x & 0xc ) {
x >>= 2;
r += 2;
}
if ( x & 0x2 ) {
x >>= 1;
r += 1;
}
if ( x & 0x1 ) {
r += 1;
}
return r;
}
/* We don't actually have these functions yet */
extern int __flsl ( long x );
#define flsl( x ) \
( __builtin_constant_p ( x ) ? __constant_flsl ( x ) : __flsl ( x ) )
#define fls( x ) flsl ( x )
extern int strcasecmp ( const char *s1, const char *s2 );
static inline __attribute__ (( always_inline )) void
bcopy ( const void *src, void *dest, size_t n ) {
memmove ( dest, src, n );
}
static inline __attribute__ (( always_inline )) void
bzero ( void *s, size_t n ) {
memset ( s, 0, n );
}
#endif /* _STRINGS_H */