From 691640182b1361e6ce4d704b0589dbf3e4b86034 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 18 Jul 2008 21:19:53 +0000 Subject: [PATCH] - looks obsolete Changed files: Firebird-security-remote-preauth-crash.dpatch -> 1.2 --- Firebird-security-remote-preauth-crash.dpatch | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 Firebird-security-remote-preauth-crash.dpatch diff --git a/Firebird-security-remote-preauth-crash.dpatch b/Firebird-security-remote-preauth-crash.dpatch deleted file mode 100644 index f1f30b5..0000000 --- a/Firebird-security-remote-preauth-crash.dpatch +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## security-remote-preauth-crash.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: No description. - -@DPATCH@ -diff -urNad firebird2-1.5.3.4870~/src/jrd/unix.cpp firebird2-1.5.3.4870/src/jrd/unix.cpp ---- firebird2-1.5.3.4870~/src/jrd/unix.cpp 2004-03-29 06:50:11.000000000 +0300 -+++ firebird2-1.5.3.4870/src/jrd/unix.cpp 2006-03-20 11:46:53.000000000 +0200 -@@ -643,6 +643,8 @@ - if (string) { - ptr = string; - if (length) { -+ if (length >= sizeof(temp)) length = sizeof(temp) - 1; -+ - MOVE_FAST(string, temp, length); - temp[length] = 0; - ptr = temp; -@@ -651,6 +653,8 @@ - else { - ptr = file_name; - if (file_length) { -+ if (file_length >= sizeof(temp)) file_length = sizeof(temp) - 1; -+ - MOVE_FAST(file_name, temp, file_length); - temp[file_length] = 0; - ptr = temp; -- 2.43.0