[erlang-patches] [PATCH] array: prevent crash
Michael Santos
michael.santos@REDACTED
Thu Nov 25 15:09:13 CET 2010
On Thu, Nov 25, 2010 at 09:28:17AM +0100, Dan Gudmundsson wrote:
> Hmm
>
> I don't know why we should check that, the array record is created and maintained by
> the array module, it is an opaque data type which the user should never touch.
>
> The size should be checked when creating the array so that it could never be a float
> or less than 0.
>
> /Dan
You are right, thanks for the feedback!
More information about the erlang-patches
mailing list