Uh oh!
There was an error while loading. Please reload this page.
buffer: fix writeInt{B,L}E for some negative values - #3994
Conversation
The algorithm used to convert negative values to hex generates incorrect values when the low byte(s) of the value are zero because a carried subtraction is applied prematurely. Fixesnodejs#3992 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
evanlucas
commented
Nov 23, 2015
/cc @trevnorris |
trevnorris
commented
Nov 23, 2015
CI https://ci.nodejs.org/job/node-test-pull-request/817/ If all's good then LGTM |
pabigot
commented
Nov 23, 2015
@trevnorris From what I can see the CI build failed, but I'm at a loss as to why. At least part of it seems to be due to git failures. If you can see something that's due to my change please point it out and I'll work to fix it. |
Fishrock123
commented
Nov 23, 2015
Hmm, cc @nodejs/build that doesn't seem to have run all of the test jobs? |
trevnorris
commented
Nov 23, 2015
Trying this again: https://ci.nodejs.org/job/node-test-pull-request/818/ |
orangemocha
commented
Nov 23, 2015
Jenkins is currently messed up again. See nodejs/build#263 |
orangemocha
commented
Nov 25, 2015
Jenkins is working again. New CI run: https://ci.nodejs.org/job/node-test-pull-request/842/ |
pabigot
commented
Nov 25, 2015
@orangemocha thanks for resubmitting that. AFAICT the two new failures are due to networking errors. If these aren't expected intermittent problems with the CI infrastructure and you think they could be due to my patch let me know; otherwise I'm going to claim the results are "pass" and move on. |
orangemocha
commented
Nov 25, 2015
I can confirm that those failures are unrelated to this PR. |
The algorithm used to convert negative values to hex generates incorrect values when the low byte(s) of the value are zero because a carried subtraction is applied prematurely. Fixes: #3992 PR-URL: #3994 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
trevnorris
commented
Dec 1, 2015
Thanks much! Landed in bea6742. |
The algorithm used to convert negative values to hex generates incorrect values when the low byte(s) of the value are zero because a carried subtraction is applied prematurely. Fixes: #3992 PR-URL: #3994 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
The algorithm used to convert negative values to hex generates incorrect values when the low byte(s) of the value are zero because a carried subtraction is applied prematurely. Fixes: #3992 PR-URL: #3994 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
The algorithm used to convert negative values to hex generates incorrect values when the low byte(s) of the value are zero because a carried subtraction is applied prematurely. Fixes: #3992 PR-URL: #3994 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
The algorithm used to convert negative values to hex generates incorrect values when the low byte(s) of the value are zero because a carried subtraction is applied prematurely. Fixes: #3992 PR-URL: #3994 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
The algorithm used to convert negative values to hex generates incorrect values when the low byte(s) of the value are zero because a carried subtraction is applied prematurely. Fixes: nodejs#3992 PR-URL: nodejs#3994 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
The algorithm used to convert negative values to hex generates incorrect
values when the low byte(s) of the value are zero because a carried
subtraction is applied prematurely.
Fixes#3992
Signed-off-by: Peter A. Bigot pab@pabigot.com