]> git.baikalelectronics.ru Git - kernel.git/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)
commit738025c71c616d7fa22a3be50259b89dfde40fe0
tree2c4006f2ed9614f09aa5f60dc96a6800055f5712
parent835cac95258ca8aebcaba445764fd6e795298826
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