10 Jul 2000 higb   » (Observer)

Has anyone answered andreas' question from the "future" article?

If this function is accepting a pascal-syle string:

void func (char *domain)
{
        int     len = domain[0];
...

then there is a problem when the high bit of domain[0] is set (lengths greater than 127), it will be sign-extended to fill len., causing a very big buffer overrun later on.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!