Small bug in nro (nrocmd.c)

Martin Minow minow at decvax.UUCP
Mon Sep 19 10:39:48 AEST 1983


There is a bug in nrocmd.c which may cause nro to crash.  The
following seems to fix the problem:


843,843c843,843
< 		if (!strcmp(name, mac.mnames[i])) 
---
> 		if (mac.mnames[i] != NULL && !strcmp(name, mac.mnames[i])) 

Martin Minow
decvax!minow



More information about the Comp.sources.unix mailing list