[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: bug in sem_open() ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luke Elliott wrote:
> In sem_open.c, line 170, mmap() could potentially return MAP_FAILED
> (~0). sem_open() can then return this value, but shouldn't the return
> value be SEM_FAILED (0)?

You're right.  I've added an appropriate patch.  New source drop will
follow shortly.  Thanks,

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+JQZe2ijCOnn/RHQRAgOYAJ4g7Wlz2l88YdS/jYUfp/oAqBnj3QCbBE9O
iYiQUs3RGZYki6qajcqUKtE=
=IQZv
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]