Ludovic Demblans
unread,Oct 15, 2021, 6:24:20 AM10/15/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to erlang-q...@erlang.org
Hello,
I can read the following in the binary_to_term documentation:
When decoding binaries from untrusted sources, the untrusted source
may submit
data in a way to create resources, such as atoms and remote
references, that
cannot be garbage collected and lead to Denial of Service attack. In
such
cases, consider using binary_to_term/2 with the safe option.
I use binary serialized remote references to dispatch messages received
from an
external source (Kafka) to the right process in the right node. Those
references are process aliases with the reply option.
Reading the docs, should I understand that each reference will stay
forever
in memory after being used to send a message?
I am also looking for more docs on that topic, I couldn't find much.
Thank you.