From d065ec4e9f87836dd21249d48cf5c17d850f07b1 Mon Sep 17 00:00:00 2001 From: Adrian Jones Date: Mon, 8 Apr 2024 19:01:37 -0700 Subject: [PATCH] Fix Issue 139 --- adminer/sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 44ccef61..18f9badb 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -87,7 +87,7 @@ if (!$error && $_POST) { $query .= fread($fp, 1e5); } else { $offset = $match[0][1] + strlen($s); - if ($s[0] != "\\") { + if (!isset($s[0]) || $s[0] != "\\") { break; } }