Björn Gustavsson

Results 59 comments of Björn Gustavsson

The linked pull request resolves the issue. It will be included in OTP 25.1.

Thanks! Added our daily builds.

Could you give some more details how the current implementation of `filelib` could be exploited in a DOS attack? It seems to me, that for an attack to be possible,...

Thanks for your pull request. I think that the OTP Technical Board will have to decide whether this change is acceptable from a backward-compatibility perspective. There could be applications or...

Here is the code that compares atoms: https://github.com/erlang/otp/blob/93f8daa84b351e1ba4f135bec1b7803004dd3a34/erts/emulator/beam/erl_utils.h#L188-L215 If the first 4 characters (more correct: 3 characters and 7 bits) in the atoms to be compared are different, the comparison...

> I also wonder if we could further optimize ASCII atoms? Use 1 bit to denote if ASCII or not. If ASCII, then you can pack the double amount of...

@josevalim Could you modify your benchmark to only use unique atoms as maps keys? That could give us some idea of how expensive the call to `strcmp()` is and whether...

@ilya-klyuchnikov, your example can be further simplified and still produce the same warning: ``` -module(over). -export([example/1]). -type data() :: [char()]. -spec example (data()) -> data(); ([data()]) -> [data()]. example(X) ->...

I have recategorized this issue as a feature request to implement support for overlapping domains. It seems that in principle that can be done by using the union (a.k.a. supremum...