konverze do PDF - was: Re: OT: kousek v C

Martin `MJ' Mares mj na ucw.cz
Neděle Duben 13 05:22:41 CEST 2008


>         char *img_pagesize;
>         sprintf(img_pagesize, "[0 0 %d %d]", width, height);

Tohle je s prominutím pitomost.  Předáváte sprintf ukazatel na buffer
z neinicializované proměnné!

				Have a nice fortnight
-- 
Martin `MJ' Mares                          <mj na ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Q: How many alchemists does it take to change a light bulb?  A: Into what?



Další informace o konferenci Linux