avoid access to uninitialized memory

This commit is contained in:
dwarning 2008-01-20 13:20:14 +00:00
parent 70e9121bbb
commit 16adcce60f
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
2008-01-19 Dietmar Warning
* configure.in: w/o optimization better debug
* src/frontend/numparam/xpressn.c: more precise recognition of subckt names
* src/frontend/numparam/spicenum.c: avoid access to uninitialized memory
because of pascal convention
2008-01-12 Dietmar Warning
* configure.in, src/xspice/ipc/*.c: xspice ipc is possible

View File

@ -599,7 +599,7 @@ nupa_list_params (FILE * cp_out)
int i;
fprintf (cp_out, "\n\n");
for (i = 1; i <= dico->nbd + 1; i++)
for (i = 1; i <= dico->nbd; i++)
{
if (dico->dat[i].tp == 'R')
{