i am observing a memory corruption in the tty_struct. (at least)
the flip structure is overwritten. I know that this can not only
be due to the backport to 2.4 (i use the ruby backport) and to
Aivils added memset()s after kalloc()s, because there is a
comment in that flip stucture saying:
>·······unsigned char>··slop[4]; /* N.B. bug overwrites buffer by 1 */
I tried to track this down with (among others) kdb, but that
seems to have problems with trapping some special memory writes.
Keith works on that...
So has someone experienced something similar and found the
reason?
(i noticed that in tty_io.h there are several points where return
values are not caught and no error handling is in place. is this
work in progress? By whom?)
|