[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] setting output digits to more than 4.

From: Jim Segrave
Subject: Re: [Bug-gnubg] setting output digits to more than 4.
Date: Sun, 03 May 2015 14:35:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 05/03/2015 12:47 AM, Øystein Schønning-Johansen wrote:

I just noticed a bug. When setting the number of outputs to 5 or more, the application crashes if I start a rollout. I think there is a buffer overflow somewhere.

(No game) show version
GNU Backgammon 1.05.000  Apr 25 2015

Arch Linux from Arch/Community build!


Bug-gnubg mailing list
Yes - someone set the buffers for displaying floating point numbers to 9 bytes in whole bunch of functions in format.c. Changing all of those to 99 cu a totallyres the problem at an insignificant cost in memory usage

reply via email to

[Prev in Thread] Current Thread [Next in Thread]