]> err.no Git - linux-2.6/commit
kconfig: incorrect 'len' field initialisation ?
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sun, 18 May 2008 21:10:24 +0000 (23:10 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 19 May 2008 18:14:49 +0000 (20:14 +0200)
commit107f43a0f7282511ec570214a0b8f639224ff525
tree2c4006f2ed9614f09aa5f60dc96a6800055f5712
parent7b97887eab6c35d23f2e4680bd5e285415068f35
kconfig: incorrect 'len' field initialisation ?

1) The field 'len' of the 'gstr' structure seems to track the size of the memory
already allocated for the "growable string". So the value of this field should be
the same as the 'malloc()' just above, shouldn't it ?

Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/util.c