summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch')
-rw-r--r--x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch b/x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch
deleted file mode 100644
index 0242247e4fe8..000000000000
--- a/x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- xtrlock.c 1997-10-22 12:32:28.000000000 +0200
-+++ xtrlock.c 2003-04-08 19:41:12.000000000 +0200
-@@ -14,6 +14,9 @@
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
-+ *
-+ * .. overflow bug patched by srakyi (http://srakyi.modry.cz) - no warranty
-+ *
- */
-
- #include <X11/X.h>
-@@ -191,8 +194,10 @@
- break;
- default:
- if (clen != 1) break;
-- if (rlen < sizeof(rbuf)) rbuf[rlen]= cbuf[0];
-- rlen++;
-+ if (rlen < sizeof(rbuf)) {
-+ rbuf[rlen]= cbuf[0];
-+ rlen++;
-+ }
- break;
- }
- break;