[haiku-appserver] Re: getting a clone of the current Accelerant

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Tue, 06 Dec 2005 12:16:39 +0100 CET

"Rudolf" <drivers.be-hold@xxxxxxxxxxxx> wrote:
> Please update the ATI driver!
> Or at least recompile it with a small fix for cloning to work: all 
> drivers failed back some time because of a fault in the R4 graphics 
> driver kit:
> the trailing '/' character for '/dev/' in CLONE_ACCELERANT:
>       /* the data is the device name */
>       /* Note: the R4 graphics driver kit is in error here (missing 
> trailing '/') */
>       strcpy(path, "/dev/");
> was missing.

Despite the potential buffer overflow (because of the use of strcat()), 
the Radeon driver looks correct in this regard - it must have been 
fixed some time ago.


Other related posts: