[Bug 707860] New: Static buffers in minicom are too small
https://bugzilla.novell.com/show_bug.cgi?id=707860 https://bugzilla.novell.com/show_bug.cgi?id=707860#c0 Summary: Static buffers in minicom are too small Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Stromeko@NexGo.DE QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 The terminal emulation minicom uses a static buffer for reading in config parameters. When you've got a path like: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 then it gets truncated and can't be used. Using the real device /dev/ttyUSB0 is not a good idea since udev may put this device on /dev/ttyUSB1 the next time. The buffer can be increased by setting #define PARS_VAL_LEN 196 in src/configsym.h (standard value is 64). If I build minicom with this change (and all the patches from https://build.opensuse.org/package/files?package=minicom&project=Base%3ASystem), then it will work with a configuration that references the above device. Reproducible: Always Steps to Reproduce: minicom -D /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 Actual Results: minicom: cannot open /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Co: No such file or directory Expected Results: minicom opening the serial port it had been given -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c1
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c2
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c5
--- Comment #5 from Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c6
--- Comment #6 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c7
--- Comment #7 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c8
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c9
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c10
--- Comment #10 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c12
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c13
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c14
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c16
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c19
--- Comment #19 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c20
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c21
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c22
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=707860
https://bugzilla.novell.com/show_bug.cgi?id=707860#c
SMASH SMASH
http://bugzilla.novell.com/show_bug.cgi?id=707860
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com