Exploit databaseDownload repository ZIP
GH-8c7f0e4b0e998904a1d6f7dcd99e3e7d
d-xuan/cve-2024-52510
Sources for CVE-2024-52510
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files2
d-xuan/cve-2024-52510Revision 6c0d89756ae0
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
3rdparty/doctrine/dbal/src/Driver/PgSQL/Exception/UnexpectedValue.php
PHP · 607 bytes<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Driver\PgSQL\Exception;
use Doctrine\DBAL\Driver\Exception;
use UnexpectedValueException;
use function sprintf;
/** @psalm-immutable */
final class UnexpectedValue extends UnexpectedValueException implements Exception
{
public static function new(string $value, string $type): self
{
return new self(sprintf(
'Unexpected value "%s" of type "%s" returned by Postgres',
$value,
$type,
));
}
/** @return null */
public function getSQLState()
{
return null;
}
}