Exploit database

GH-4642edc2de9658f32424c896f3a2846e

ahallais/php71-debian9-backport

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

412 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files55Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

sury/build/php7.1-7.1.33/sapi/fpm/fpm/fpm_str.h

Text · 482 bytes
	/* $Id: fpm_str.h,v 1.3 2008/05/24 17:38:47 anight Exp $ */
	/* (c) 2007,2008 Andrei Nigmatulin */

#ifndef FPM_STR_H
#define FPM_STR_H 1

static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */
{
	char *d, *end;

	d = dst;
	end = dst + size - 1;

	for (; d < end && *src; ++d, ++src) {
		if (* (unsigned char *) src < ' ' || * (unsigned char *) src > '\x7f') {
			*d = '.';
		} else {
			*d = *src;
		}
	}

	*d = '\0';

	return d;
}
/* }}} */

#endif