# #71915 openssl_random_pseudo_bytes is not "fork-safe"

- Thread: https://externals.io/message/91989
- Original archive: https://news-web.php.net/php.internals/91989
- Started by Tom Worster on 2016-03-29T14:05:54+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #91989 — Tom Worster — 2016-03-29T14:05:54+00:00

URL: https://externals.io/message/91989#91989

mathieuk has requested feedback on a patch to mitigate this problem in PHP.

https://bugs.php.net/bug.php?id=71915

Tom

---

## #91994 — Jakub Zelenka — 2016-03-29T18:49:48+00:00

URL: https://externals.io/message/91989#91994 · In reply to: #91989

I have added some feedback and assigned it to myself ;)



> mathieuk has requested feedback on a patch to mitigate this problem in PHP.
>
> https://bugs.php.net/bug.php?id=71915
>
> Tom

---

## #92016 — Chris Riley — 2016-03-30T09:31:46+00:00

URL: https://externals.io/message/91989#92016 · In reply to: #91994

> I have added some feedback and assigned it to myself ;)
>
> 
>
> > […]
> PHP.
> > […]
>

Would the safest option here not just be upon fork, reseed the RNG from
/dev/urandom ?
