From: Geert U. <ge...@li...> - 2001-06-16 14:21:37
|
On Sat, 16 Jun 2001, Martin Erhardsen wrote: > From: "Geert Uytterhoeven" <ge...@li...> > > On Sat, 16 Jun 2001, Martin Erhardsen wrote: > > > I have a couple of further API questions. > > > > > > How about reading 3 bytes past the end of the bitmap. > > > I have noticed that 3dfx driver carefully avoids this, > > > but if this were allowed, it would avoid having a special case for > > > the last 3 bytes. > > > > Which bitmap? > > The bitmap used for drawing characters with putc and putcs. You mean the font data? > I was wondering if reading 3 extra bytes past the end could > cause a segmantation fault. In theory yes. But why would you want to read more fontdata than is present? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |