From d3a478e2abbe99c9545ba0b5e0b2d63ceaa8e4cb Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 22 Jun 2000 01:21:00 +0000 Subject: [PATCH] (ccl_driver) : Decrement stack_idx only when it is greater than 0. --- src/ccl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ccl.c b/src/ccl.c index 8e2ba81501e..4f0dfbfbdbc 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -1026,8 +1026,9 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed) break; case CCL_End: /* 0000000000000000000000XXXXX */ - if (stack_idx-- > 0) + if (stack_idx > 0) { + stack_idx--; ccl_prog = ccl_prog_stack_struct[stack_idx].ccl_prog; ic = ccl_prog_stack_struct[stack_idx].ic; break; -- 2.39.2