24 Dec, 2009

1 commit

  • Memset should be given the size of the structure, not the size of the pointer.

    The semantic patch that makes this change is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @@
    type T;
    T *x;
    expression E;
    @@

    memset(x, E, sizeof(
    + *
    x))
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Greg Kroah-Hartman

    Julia Lawall
     

31 Oct, 2009

1 commit


16 Sep, 2009

7 commits


06 Jul, 2009

1 commit


20 Jun, 2009

6 commits


15 Jun, 2009

1 commit


13 Jun, 2009

2 commits


18 Apr, 2009

1 commit


04 Apr, 2009

20 commits