I believe long comments. In lib/rdconf.cpp, GetIni has a 80 byte,
fixed-size buffer called cIniLabel that gets filled until an equals sign is
reached. If there's a comment longer than 80 characters, it will get copied
into this buffer and smash the stack. There is no special comment
processing in GetIni.

Also, GetIniLine appears to have a bug where it doesn't necessarily
null-terminate a string over BUFFER_SIZE. It won't copy more than
BUFFER_SIZE - 1 bytes, but the final byte remains uninitialized.


On Mon, Aug 4, 2014 at 4:26 AM, Cowboy <[email protected]> wrote:

> On Monday 04 August 2014 12:55:01 am Karl Koscher wrote:
> > For the benefit of the mailing list: we figured this out on IRC.
> Rivendell
> > has a bug where it chokes on long comments in /etc/rd.conf (or any other
> > ini file)
>
>  Long comments, or line wrap ?
>
> --
> Cowboy
>
> http://cowboy.cwf1.com
>
> Beifeld's Principle:
>         The probability of a young man meeting a desirable and
> receptive young female increases by pyramidal progression when he is
> already in the company of: (1) a date, (2) his wife, (3) a better
> looking and richer male friend.
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to