Ticket #41 (closed defect: fixed)
CrystalFontz CF635 : Buffer overflow after initialisation of layout
| Reported by: | info@…> | Owned by: | michael |
|---|---|---|---|
| Priority: | highest | Component: | lcd4linux |
| Version: | Severity: | blocker | |
| Keywords: | Cc: |
Description
Dear Sir,
I have a Suse 10.1 x86_64. I have a buffer overflow message when I do a lcd4linux -Fvvq with my CF635.
Please have a look to the dump bellow. Any idea?
Many thanks Hervé Display CF635 {
Icons 1 Driver 'Crystalfontz' Model '635' Port '/dev/ttyUSB0' Speed 115200 Contrast 16 Backlight 50
} Layout DefaultCF635 {
Row1 {
Col1 'OS'
} Row2 {
Col1 'CPU' Col10 'RAM'
} Row3 {
Col1 'Busy' Col10 'Rain' Col11 'BusyBar?'
} Row4 {
Col1 'Load' Col11 'LoadBar?'
}
}
solar:/home/root # lcd4linux -Fvvq
Version 0.10.1-CVS starting
plugin_cfg.c: Variable minute = '60000' (60000)
plugin_cfg.c: Variable tack = '100' (100)
plugin_cfg.c: Variable tick = '500' (500)
lcd4linux.c: initializing driver Crystalfontz
Crystalfontz: $Revision: 1.42 $
Crystalfontz: using model '635'
Crystalfontz: using port '/dev/ttyUSB0' at 115200 baud
removing stale lockfile /var/lock/LCK..ttyUSB0
Crystalfontz: display identifies itself as 'CFA635:h1.0,v1.4'
Crystalfontz: display type 'CFA635', hardware version 1.0, firmware version v1.4
Crystalfontz: reserving 1 of 8 user-defined characters for icons
Crystalfontz: using 4 GPI's and 12 GPO's
initializing layout 'DefaultCF635'
lcd4linux.c: starting main loop
*** buffer overflow detected ***: lcd4linux terminated
======= Backtrace: =========
/lib64/libc.so.6(chk_fail+0x2f)[0x2b5668038ebf]
lcd4linux[0x40f1e8]
lcd4linux[0x40f5d3]
lcd4linux[0x41fb7a]
lcd4linux[0x4097d5]
lcd4linux[0x40525c]
/lib64/libc.so.6(libc_start_main+0xf4)[0x2b5667f85154]
lcd4linux[0x404a79]
...
