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
Right now the framer has multiple buffer.writeUInt32BE calls. In case priority.exclusive is truthy it can pass in a negative value because 0x80000000 | undefined === -(2 ** 31).
This currently works because the buffer write operation will overflow and safe that value. That will not be possible in future versions anymore.
Right now the test should generate priority request frame will result in such a case. I tried to fix it but I am not sure what the right solution should be. Ping @indutny
Right now the framer has multiple
buffer.writeUInt32BE
calls. In casepriority.exclusive
is truthy it can pass in a negative value because0x80000000 | undefined === -(2 ** 31)
.This currently works because the buffer write operation will overflow and safe that value. That will not be possible in future versions anymore.
Right now the test
should generate priority request frame
will result in such a case. I tried to fix it but I am not sure what the right solution should be. Ping @indutnyRefs: nodejs/node#18395
The text was updated successfully, but these errors were encountered: