Correct parsing of serial flow control
authorhpa <hpa>
Tue, 20 Nov 2001 22:21:33 +0000 (22:21 +0000)
committerhpa <hpa>
Tue, 20 Nov 2001 22:21:33 +0000 (22:21 +0000)
isolinux.asm
ldlinux.asm
pxelinux.asm

index 32f1259..33903d2 100644 (file)
@@ -1192,6 +1192,9 @@ pc_serial:        call getint                     ; "serial" command
                jc .nobaud
 .valid_baud:   
                push ebx
+               call skipspace
+               jc .parse_baud
+               call ungetc
                call getint                     ; Hardware flow control?
                jnc .valid_flow
                xor bl,bl                       ; Default -> no flow control
index d1a065c..c9b723b 100644 (file)
@@ -1290,6 +1290,9 @@ pc_serial:        call getint                     ; "serial" command
                jc .nobaud
 .valid_baud:   
                push ebx
+               call skipspace
+               jc .parse_baud
+               call ungetc
                call getint                     ; Hardware flow control?
                jnc .valid_flow
                xor bl,bl                       ; Default -> no flow control
index 7c5ef7b..a2b6a3c 100644 (file)
@@ -1007,6 +1007,9 @@ pc_serial:        call getint                     ; "serial" command
                jc .nobaud
 .valid_baud:   
                push ebx
+               call skipspace
+               jc .parse_baud
+               call ungetc
                call getint                     ; Hardware flow control?
                jnc .valid_flow
                xor bl,bl                       ; Default -> no flow control