[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#504721: Possible reason for serial console misdetection

Jérémy Bobbio <lunar@debian.org> writes:

> On Tue, Dec 02, 2008 at 10:50:26PM +0100, Frans Pop wrote:
> As we are not interested in the settings of the serial line or by the
> state of the VT, we can just omit the struct declarations and be fine
> with a dummy buffer.

Don't you risk overflowing the buffer by not using a union of the two
structs?  Or are both guarranteed to never grow above 256 bytes?

Reply to: