Vagabond/erlang-iconv — pull request #4 by eriksoe (2013-05-20 23:07:55+00:00)
Title: Fix a number of bugs, and add unit tests

Bugs fixed:
- incorrect result when buffer was expanded more than once;
- memory leak on einval and eilseq returns;
- if input was >64KB, only first (n % 64K) bytes were processed, the rest being silently ignored;
- NULs handled in a way which makes little sense with Erlang.