diff --git a/SOURCES/gawk-4.0.2-fix-chksize-calls.patch b/SOURCES/gawk-4.0.2-fix-chksize-calls.patch
new file mode 100644
index 0000000..f75b3e4
--- /dev/null
+++ b/SOURCES/gawk-4.0.2-fix-chksize-calls.patch
@@ -0,0 +1,25 @@
+From cf5e462296d01d58a212badd3d28c3c348f4f917 Mon Sep 17 00:00:00 2001
+From: "Arnold D. Robbins" <arnold@skeeve.com>
+Date: Tue, 2 Jul 2013 22:03:50 +0300
+Subject: [PATCH] Bug fix in profile.c:pp_string for valgrind.
+
+---
+ profile.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/profile.c b/profile.c
+index eb78837..16b1469 100644
+--- a/profile.c
++++ b/profile.c
+@@ -1201,7 +1201,7 @@ pp_string(const char *in_str, size_t len, int delim)
+ 			obufout += len;
+ 		}
+ 	}
+-	chksize(1);
++	chksize(2);
+ 	*obufout++ = delim;
+ 	*obufout = '\0';
+ 	return obuf;
+-- 
+2.9.4
+
diff --git a/SPECS/gawk.spec b/SPECS/gawk.spec
index 1bfdb54..f14b98a 100644
--- a/SPECS/gawk.spec
+++ b/SPECS/gawk.spec
@@ -1,7 +1,7 @@
 Summary: The GNU version of the awk text processing utility
 Name: gawk
 Version: 4.0.2
-Release: 4%{?dist}
+Release: 4%{?dist}.1
 # Most of source files are licensed under GPLv3+,
 # several files are GPL or LGPLv2.1+ licensed,
 # gettext.h is LGPL and random.c is BSD licensed
@@ -16,6 +16,8 @@ Provides: /bin/awk
 Provides: /bin/gawk
 BuildRequires: byacc
 
+Patch1:   gawk-4.0.2-fix-chksize-calls.patch
+
 %description
 The gawk package contains the GNU version of awk, a text processing
 utility. Awk interprets a special-purpose programming language to do
@@ -26,6 +28,7 @@ considered to be a standard Linux tool for processing text.
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure --with-libsigsegv-prefix=no
@@ -71,6 +74,9 @@ fi
 %{_datadir}/awk
 
 %changelog
+* Tue Jun 13 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.0.2-4.el7_3.1
+- Fix calls to chksize to avoid gawk being killed by SIGABRT (bug #1441689)
+
 * Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.0.2-4
 - Mass rebuild 2014-01-24