Bug 2737

Summary: buildroot configuration tool crashing when the path exceeds 128 characters
Product: buildroot Reporter: jk <honyakeprt>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: quick fix

Description jk 2010-10-27 14:18:42 UTC
Created attachment 2629 [details]
quick fix

Install the buildroot to a directory, where the path length exceed 128 characters. Try to run "make oldconfig", the configuration tool is crashing with message buffer overflow detected. The tool "make menuconfig" is probably crashing as well.

The buggy file is located here:
..../package/config/confdata.c
Function:
int conf_write(const char *name) 
uses arrays of size 128B for path.


Am sending you quick fix, which is working for us.

Regars

JK
Comment 1 Peter Korsgaard 2010-11-07 18:54:45 UTC
Thanks, fixed in git (ported the similar patch from the kernel)