[Verse-dev] smal bug in server

Eskil Steenberg eskil at obsession.se
Fri Sep 30 18:27:11 CEST 2005


Hi

I just found a tiny bug in the server: in vs_node_head.c
line 231 reads:

t->tag.vstring = malloc((sizeof *t->tag.vstring) * i));

but should obviusly read:

t->tag.vstring = malloc((sizeof *t->tag.vstring) * (i + 1));

Its may cause the server to crash.

Cheers

E



More information about the Verse-dev mailing list