Allocation overflow check was incorrectly using signed comparison

instead of an unsigned one.
This commit is contained in:
Abdulaziz Ghuloum 2008-05-25 14:39:03 -07:00
parent 467095677e
commit 7f0f127081
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -487,7 +487,7 @@
(define (alloc-check size) (define (alloc-check size)
(E (make-shortcut (E (make-shortcut
(make-conditional ;;; PCB ALLOC-REDLINE (make-conditional ;;; PCB ALLOC-REDLINE
(make-primcall '<= (make-primcall 'u<=
(list (make-primcall 'int+ (list apr size)) (list (make-primcall 'int+ (list apr size))
(make-primcall 'mref (make-primcall 'mref
(list pcr (list pcr

View File

@ -1 +1 @@
1487 1488