LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Fri Nov 25 14:35:11 CET 2005
    Subject: [cvs-checkins] MODIFIED: or1k ...
    Top
    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;



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.