You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2020/09/17 13:42:21 UTC

[Bug 64746] our_ftok() can produce SHM ids with low order bits all zero

https://bz.apache.org/bugzilla/show_bug.cgi?id=64746

--- Comment #1 from Joe Orton <jo...@redhat.com> ---
We changed from plain ftok() to our_ftok() in 1.5 so should be fine to fudge it
IMO.  Is there any platform where ftok actually misbehaves when passed 0?  IIRC
most implementations simply XOR the inode number with the project ID

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org