|
Message
From: cvs at opencores.org<cvs@o...>
Date: Fri Nov 25 14:35:11 CET 2005
Subject: [cvs-checkins] MODIFIED: or1k ...
Date: 00/05/11 25:14:35 Modified: or1k/or1ksim/peripheral eth.c Log: fix uninitialized reads Revision Changes Path 1.36 or1k/or1ksim/peripheral/eth.c http://www.opencores.org/cvsweb.shtml/or1k/or1ksim/peripheral/eth.c.diff?r1=1.35&r2=1.36 (In the diff below, changes in quantity of whitespace are not shown.) Index: eth.c =================================================================== RCS file: /cvsroot/phoenix/or1k/or1ksim/peripheral/eth.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -b -r1.35 -r1.36 --- eth.c 6 Nov 2005 16:44:52 -0000 1.35 +++ eth.c 25 Nov 2005 13:35:10 -0000 1.36 @@ -870,6 +870,7 @@ exit(-1); } + memset(new, 0, sizeof(struct eth_device)); new->enabled = 1; return new;
|
 |