diff --git a/.gitignore b/.gitignore
index 0747c67..7e58cd2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -66,3 +66,4 @@
 /vim-8.0-566.tar.bz2
 /vim-8.0-586.tar.bz2
 /vim-8.0-596.tar.bz2
+/vim-8.0-597.tar.bz2
diff --git a/README.patches b/README.patches
index 9885b92..f3b9e62 100644
--- a/README.patches
+++ b/README.patches
@@ -1,3 +1,12 @@
+commit 253f9128779f315ea670f9b4a17446b7b4c74927
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon May 15 08:45:13 2017 +0200
+
+    patch 8.0.0597: off-by-one error in size computation
+    
+    Problem:    Off-by-one error in buffer size computation.
+    Solution:   Use ">=" instead of ">". (Lemonboy, closes #1694)
+
 commit 4475b623960671898dac6a72b13a8d140402afa6
 Author: Bram Moolenaar <Bram@vim.org>
 Date:   Mon May 1 20:46:52 2017 +0200
diff --git a/sources b/sources
index 29973ef..f45fe85 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (vim-8.0-596.tar.bz2) = 68386417959ea368a1ed139617c76965e942c38d8fbf7fb5bd90aaa3ff3f10e59480bb9fa11576b5bc819b8f770bcbecb787b0ecbf453b78e06883c808ac7936
+SHA512 (vim-8.0-597.tar.bz2) = b595a4118db165e07982654e6041a2ba4202abaa01c57a66c4044cdbb3c425f5046912ad9fe28b679b61553a418c3f05cd16a6c0e162efc28af4935e25718bb5
diff --git a/vim.spec b/vim.spec
index fbfcc57..2a22e0e 100644
--- a/vim.spec
+++ b/vim.spec
@@ -1,4 +1,4 @@
-%define patchlevel 596
+%define patchlevel 597
 %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
 %define WITH_SELINUX 1
 %endif
@@ -765,6 +765,9 @@ rm -rf %{buildroot}
 %{_datadir}/icons/locolor/*/apps/*
 
 %changelog
+* Mon May 15 2017 Karsten Hopp <karsten@redhat.com> 8.0.597-1
+- patchlevel 597
+
 * Tue May 02 2017 Karsten Hopp <karsten@redhat.com> 8.0.596-1
 - patchlevel 596