[GRASS-user] Re: [GRASS-dev] Fwd: Buffer overflow GRASS GIS 6.3.0

Jachym Cepicky jachym.cepicky at gmail.com
Fri Nov 14 11:18:52 EST 2008


For those, who are impatient, because of I do not have access to
Les-ejk right now, fresh packages for Ubuntu 8.10 with GRASS 6.3, with
working WxGUI are located at

deb http://sandbox.cz/~jachym/ubuntu intrepid multiverse

this repository is only temporary, I'll upload the packages to Les-ejk
during next week.

Jachym

2008/11/14 Markus Neteler <neteler at osgeo.org>:
> 2008/11/14 Glynn Clements <glynn at gclements.plus.com>:
>>
>> Jáchym Čepický wrote:
>>
>>> I already reported problem with g.parsr in GRASS 6.3 on Ubuntu 8.10
>>>
>>> here is another message, maybe it could help (?)
>>
>> I believe that this has been fixed by r34172 (7.0) and r34173 (6.4),
>> with the following change:
>>
>> --- general/g.parser/main.c     (revision 34171)
>> +++ general/g.parser/main.c     (revision 34172)
>> @@ -358,7 +358,7 @@
>>      * to uppercase it was necessary to use uppercase variables.
>>      * Set both until all scripts are updated */
>>     for (flag = ctx.first_flag; flag; flag = flag->next_flag) {
>> -       char buff[12];
>> +       char buff[16];
>>
>>        sprintf(buff, "GIS_FLAG_%c=%d", flag->key, flag->answer ? 1 : 0);
>>        putenv(G_store(buff));
>>
>
> Backported to 6.3.svn, too.
>
> Markus
>



-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub


More information about the grass-user mailing list