Thread (2 messages) 2 messages, 2 authors, 2005-12-13

write() to zero length framebuffer -- bug report

From: Jenkins, Clive <hidden>
Date: 2005-12-13 14:35:08

In the vanilla 2.4.20 kernel version of fbmem.c, the function
fb_write() returns zero if the framebuffer size (fix.smem_size)
is zero, instead of -ENOSPC. This causes a normal user program
to loop forever.

Looking at the code for vanilla 2.6.10 and 2.6.11, the situation
is complicated by the new info.screen_size and kmalloc-ing a
buffer, but the bug is still there.

Clive


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help