Todd C. Miller <[email protected]> wrote:

> On Fri, 18 Jun 2021 16:02:20 -0500, Scott Cheloha wrote:
> 
> > If we're going to just return an arbitrary value shouldn't we keep
> > returning UINT_MAX as we always have?  This would preserve compat with
> > the other BSD libc implementations, too.
> 
> I think that a return value of 0 is less likely to cause actual
> harm but if you'd prefer to use UINT_MAX that is OK with me.

Without considering the cases where an incorrect value is passed in...

How many pieces of code have you found that inspect the return value?

Reply via email to