[uw.mfcf.bugs] lookbib; core dump on a sun

idallen@watcgl.waterloo.edu (09/23/89)

From: "Ian! D. Allen [CGL]" <idallen>

From klassen.WBST128@Xerox.COM  Fri Sep 22 16:41:35 1989
Sender: klassen.WBST128@Xerox.COM
Subject: refer family: lookbib bug
To: idallen@watcgl
Reply-To: klassen.WBST128@Xerox.COM

reproduce by: 
lookbib (on a sun)
symptom: 
segmentation fault (core dumped)
fix by:
change   while ( argv[1][0] == '-' )
to       while ( argc > 1 && argv[1][0] == '-' )
in argument parsing.

Cheers.