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
The text was updated successfully, but these errors were encountered:
bengl
changed the title
on v4 and below, process.hrtime() segfaults on arrays with error-throwing accessors
<=v4: process.hrtime() segfaults on arrays with error-throwing accessors
Jul 27, 2016
In latest node v4.x and below, when an array with an accessor that throws is passed into
process.hrtime()
, it will produce a segmentation fault.Example
On node v5.x and v6.x this will just throw, which is expected. On node v4.x and below, this produces a segmentation fault.
I think this was fixed on v5.x+ by this commit fc143da.
Though this particular case is really edgy, it's my understanding that node APIs probably shouldn't segfault ever.
/cc @mlfbrown @deian who found this.
The text was updated successfully, but these errors were encountered: