kconfig: Use PATH_MAX instead of 128 for path buffer sizes.
authorWill Newton <will.newton@gmail.com>
Wed, 22 Sep 2010 14:59:13 +0000 (15:59 +0100)
committerMichal Marek <mmarek@suse.cz>
Mon, 4 Oct 2010 13:40:04 +0000 (15:40 +0200)
commit1408b15b98635a13bad2e2a50b3c2ae2ccdf625b
tree148e0f0b0a9a3092b2134dde73490b73d317f767
parent19c29f326075e2c66e34d98f2a0cf22901b2d8e9
kconfig: Use PATH_MAX instead of 128 for path buffer sizes.

This prevents the buffers being overflowed when using a config
file with a long name. PATH_MAX is used elsewhere in the same
file, so use it here as well.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c