[syslinux] [PATCH 1/1] CORE/writedec: Fix overflow and redeclaration

H. Peter Anvin hpa at zytor.com
Tue Mar 17 11:03:11 PDT 2009


Gene Cumm wrote:
> From: Gene Cumm <gene.cumm at gmail.com>
> 
> CORE/writedec: Fix overflow and redeclaration; If EDX is greater than
> or equal to 10, div can cause an overflow.  Comment out declaration of
> writechr.
> 
> Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
> 
> ---
> 
> Against current head.
> 
> hpa: If there's a preferred way to do what this function provides, let
> me know.  Was the writechr in there on purpose to prevent the use of
> this function?
> 

No, it was just never actually tested since there was no user for it.

	-hpa




More information about the Syslinux mailing list