Project

General

Profile

Bug #7488

bcopy and bzero should mind signed bits

Added by Robert Mustacchi almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
2016-10-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Several of the comparisons in the x86 kernel assembly bcopy() and bzero() implementations are making signed comparisons when they should be making unsigned comparisons.

History

#1

Updated by Electric Monk almost 3 years ago

  • Status changed from New to Closed

git commit 5aaab1a49679c26dbcb6fb6dc25799950d70cc71

commit  5aaab1a49679c26dbcb6fb6dc25799950d70cc71
Author: Robert Mustacchi <rm@joyent.com>
Date:   2016-10-21T18:57:39.000Z

    7488 bcopy and bzero should mind signed bits
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF