aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-04-23 18:59:49 +0300
committerDmitry Vyukov <dvyukov@google.com>2019-04-23 18:59:49 +0300
commit335cf4f4fda02dfadd5bb2d334a88fc2823f248e (patch)
tree5d9d93a36f435ba86377116d6182af45b276cb0f /executor
parent51fc038380062aec71b4e39af9227c6db0be4fd8 (diff)
prog: fix crash in createResource
We may be in createResource but have no resources at all because of ANYRES that are not in target.Resources. This is actually the case for some test targets. We have resources there, but syscalls that create them are disabled. In such case we crash in Intn(0). Check that we have some resources before calling Intn.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions