Re: [PATCH] sys_select() kmallocs 0 bytes.

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu May 25 2000 - 16:06:40 EDT

  • Next message: I Lee Hetherington: "memory detection in 2.2.15"

    > ret = -EINVAL;
    > - if (n < 0)
    > + if (n <= 0)
    > goto out_nofds;

    This is incorrect. In fact the zero kmalloc if anything is harmless. A
    0 fd select is legal and used for timers

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Thu May 25 2000 - 16:17:21 EDT