You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Buffer.alloc v4: Incorrectly returns zero-filled buffer when encoding is passed #9226
Working on this. The issue is that Buffer.alloc calls Buffer.fill with another Buffer as an argument. However, passing another Buffer as an argument is not supported in Node 4.
Ow, that was my backport. Btw, it probably means that there is no testcase for that in master, if it wasn't added recently, as I backported with testcases. Will take a look at that.
Activity
mscdex commentedon Oct 21, 2016
/cc @nodejs/buffer
not-an-aardvark commentedon Oct 22, 2016
Working on this. The issue is that
Buffer.alloccallsBuffer.fillwith anotherBufferas an argument. However, passing anotherBufferas an argument is not supported in Node 4.ChALkeR commentedon Oct 23, 2016
Ow, that was my backport. Btw, it probably means that there is no testcase for that in
master, if it wasn't added recently, as I backported with testcases. Will take a look at that.ChALkeR commentedon Oct 23, 2016
Update: the coverage was recently (2016-09-19) fixed in master in 8699ecd (#8552). That probably needs to be backported to v4.x.
MylesBorins commentedon Oct 25, 2016
@ChALkeR would you be able to do a Pr?
On Sun, Oct 23, 2016, 10:45 AM Сковорода Никита Андреевич <
notifications@github.com> wrote:
ChALkeR commentedon Oct 25, 2016
@thealphanerd You mean the testcases update? I will take a look at that.
buffer: fix `fill` with encoding in Buffer.alloc()
MylesBorins commentedon Oct 26, 2016
fixed in dc3e45f and will land in v4.6.2
buffer: fix `fill` with encoding in Buffer.alloc()