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
I can’t reproduce this locally, but … child_process.spawn('node', {gid: (2**20)**2}) does the trick, even on master, because we check only that gid is an integer in JS, when we really should check that it’s an Int32 (and there’s a chance of it being a getter, which I think we also don’t account for).
id jenkins
uid=20001(jenkins) gid=4294967295(nogroup) groups=12(everyone),20(staff),61(localaccounts),702(com.apple.sharepoint.group.2),701(com.apple.sharepoint.group.1),703(com.apple.sharepoint.group.3),100(_lpoperator)
changing it from 4294967295(nogroup) to 20(staff) has fixed things on my end
Activity
addaleax commentedon Aug 28, 2018
I can’t reproduce this locally, but …
child_process.spawn('node', {gid: (2**20)**2})does the trick, even onmaster, because we check only thatgidis an integer in JS, when we really should check that it’s an Int32 (and there’s a chance of it being a getter, which I think we also don’t account for).child_process: fix handling of incorrect uid/gid in spawn
gdams commentedon Aug 29, 2018
FYI the gid on this mac was as follows:
changing it from
4294967295(nogroup)to20(staff)has fixed things on my endchild_process: fix handling of incorrect uid/gid in spawn
child_process: fix handling of incorrect uid/gid in spawn
child_process: fix handling of incorrect uid/gid in spawn
child_process: fix handling of incorrect uid/gid in spawn
apapirovski commentedon Oct 18, 2018
This got fixed.