From 1b29538e9ade7cd7849f773e07af13eb3059dcde Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 19 Jan 2008 14:28:56 +0000 Subject: [PATCH] treat NUL specially --- hostside/startup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hostside/startup.c b/hostside/startup.c index 04d844a..7efdc1a 100644 --- a/hostside/startup.c +++ b/hostside/startup.c @@ -198,6 +198,7 @@ void on_pic_detect1(const PicInsnInfo *pii, const PicInsn *pi, int segn) { /*---------- fixme move these to where they want to go ----------*/ void on_pic_nmradone(const PicInsnInfo *pii, const PicInsn *pi, int objnum) { + if (!objnum) die("PIC sent NUL!"); if (sta_state <= Sta_Settling) return; if (sta_state != Sta_Run) die("PIC sent NMRADONE in Resolving"); -- 2.30.2