summaryrefslogtreecommitdiff
path: root/bash/bash-2.05b/report-155436.patch
blob: 9fe34928c7cf1279464b6a3b4cdd3ce863ea29f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- include/shmbutil.h.orig	2002-08-05 06:26:13.000000000 +0900
+++ include/shmbutil.h	2002-08-05 06:19:37.000000000 +0900
@@ -120,6 +120,8 @@
 		state = state_bak; \
 		(_i)++; \
 	      } \
+            else if (mblength == 0) \
+              (_i)++; \
 	    else \
 	      (_i) += mblength; \
 	  } \