public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f33df43
)
Fix: CSA was not quite right
author
ceriel
<none@none>
Wed, 10 Nov 1993 13:00:01 +0000
(13:00 +0000)
committer
ceriel
<none@none>
Wed, 10 Nov 1993 13:00:01 +0000
(13:00 +0000)
util/int/do_misc.c
patch
|
blob
|
history
diff --git
a/util/int/do_misc.c
b/util/int/do_misc.c
index
b94fa00
..
f558b83
100644
(file)
--- a/
util/int/do_misc.c
+++ b/
util/int/do_misc.c
@@
-436,6
+436,9
@@
PRIVATE index_jump(nbytes)
if (t_index >= 0 && t_index <= mem_lds(cdp + nbytes + psize, nbytes)) {
nPC = mem_ldip(cdp + (2 * nbytes) + ((t_index + 1) * psize));
+ if (nPC == 0) {
+ trap(ECASE);
+ }
}
else if ((nPC = mem_ldip(cdp)) == 0) {
trap(ECASE);