W3C home > Mailing lists > Public > www-amaya-dev@w3.org > January 2003

Re: Bug in remote CSS loading, amaya 7.1, OSX, got it!

From: Jose Kahan <jose.kahan@w3.org>
Date: Tue, 7 Jan 2003 16:29:40 +0100
To: Carine Bournez <carine@w3.org>
Cc: www-amaya-dev@w3.org
Message-ID: <20030107152940.GB1119@inrialpes.fr>

Hello Carine,

Good debugging. Thanks!.

> I finally found where the bug [1] is.
> In AHTURLTools.c, function GetTempName, the second test is
> if (len + L_tmpnam > FILENAME_MAX)
>     return NULL;


I see the problem. It should be throughout PATH_MAX, rather than FILENAME_MAX. 
In addition, as we're not using the local library anymore, I don't need
the L_tmpnam limit anymore, just its actual value (6) as implemented
in the function above. This must have been some legacy stuff that
stayed there.

I commmited the change to CVS.

Received on Tuesday, 7 January 2003 10:29:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:48 UTC