Quickfix of issue 134 (untested)
diff --git a/Makefile b/Makefile
index 9fcc4a9..b6343a7 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@
 # ################################################################
 
 # Version numbers
-export RELEASE=r118
+export RELEASE=rc119
 LIBVER_MAJOR=1
 LIBVER_MINOR=2
 LIBVER_PATCH=0
diff --git a/lz4.c b/lz4.c
index a1475dc..c0b6c1a 100644
--- a/lz4.c
+++ b/lz4.c
@@ -922,7 +922,9 @@
                 length += s;
             }
             while (likely((endOnInput)?ip<iend-RUN_MASK:1) && (s==255));
-            if ((sizeof(void*)==4) && unlikely(length>LZ4_MAX_INPUT_SIZE)) goto _output_error;   /* overflow detection */
+            //if ((sizeof(void*)==4) && unlikely(length>LZ4_MAX_INPUT_SIZE)) goto _output_error;   /* overflow detection */
+            if ((sizeof(void*)==4) && unlikely(op+length<op)) goto _output_error;   /* quickfix issue 134 */
+            if (endOnInput && (sizeof(void*)==4) && unlikely(ip+length<ip)) goto _output_error;   /* quickfix issue 134 */
         }
 
         /* copy literals */
@@ -961,7 +963,8 @@
                 s = *ip++;
                 length += s;
             } while (s==255);
-            if ((sizeof(void*)==4) && unlikely(length>LZ4_MAX_INPUT_SIZE)) goto _output_error;   /* overflow detection */
+            //if ((sizeof(void*)==4) && unlikely(length>LZ4_MAX_INPUT_SIZE)) goto _output_error;   /* overflow detection */
+            if ((sizeof(void*)==4) && unlikely(op+length<op)) goto _output_error;   /* quickfix issue 134 */
         }
 
         /* check external dictionary */