Skip to contentSkip to conversation

New: buildroot configuration tool crashing when the path exceeds 128 characters

Buildroot bugzilla at busybox.net 1 participant 2 messages Oct 27, 2010 – Nov 7, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2737

Summary: buildroot configuration tool crashing when the path
exceeds 128 characters
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: honyakeprt at centrum.cz
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 2629
--> https://bugs.busybox.net/attachment.cgi?id=2629
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

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2737] buildroot configuration tool crashing when the path exceeds 128 characters

https://bugs.busybox.net/show_bug.cgi?id=2737

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Peter Korsgaard <[email protected]> --- Thanks, fixed in git (ported the similar patch from the kernel)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.