plan9fox/sys/src/cmd/jpg
Alex Musolino 404c901f29 ico: avoid potential nil pointer dereferences
Bgeticon can fail, leaving the Icon img pointers nil.
2020-12-15 20:45:26 +10:30
..
bmp.c various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00
bmp.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
close.c cmd: remove a bit of unused stuff 2016-11-17 02:59:40 +01:00
gif.c gif: just read and decode the first image when -9 or -c flag is specified 2016-10-22 00:35:17 +02:00
ico.c ico: avoid potential nil pointer dereferences 2020-12-15 20:45:26 +10:30
imagefile.h gif: just read and decode the first image when -9 or -c flag is specified 2016-10-22 00:35:17 +02:00
jpegdump.c cmd: remove a bit of unused stuff 2016-11-17 02:59:40 +01:00
jpg.c jpg: fd == 0 is valid, so don't ignore it 2016-04-06 20:22:42 -04:00
mkfile jpg/ico: fix mkfile 2015-08-01 11:56:01 +02:00
multichan.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
onechan.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
png.c png: remove bogus chanlen warning 2020-09-01 21:54:10 +09:30
ppm.c various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00
readbmp.c bio: remove useless Breadn() as it does the same as Bread() 2012-12-25 02:45:28 +01:00
readgif.c gif: just read and decode the first image when -9 or -c flag is specified 2016-10-22 00:35:17 +02:00
readjpg.c jpg: treat EOF as EOI marker 2020-10-31 15:44:49 +10:30
readpng.c png: fail on invalid bpc 2014-12-14 22:20:06 +01:00
readppm.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
readtga.c readgif, readjpg: fix incorrect malloc arguments: use sizeof(Rawimage*) instead of sizeof(Rawimage**) and 2*sizeof(Rawimage*) instead of sizeof(Header) 2013-06-01 17:14:50 -04:00
readtif.c jpg(1), jpg: add -y flag to usage 2013-08-31 13:39:51 -04:00
readv210.c bio: remove useless Breadn() as it does the same as Bread() 2012-12-25 02:45:28 +01:00
readyuv.c bio: remove useless Breadn() as it does the same as Bread() 2012-12-25 02:45:28 +01:00
rgbrgbv.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
rgbycc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tga.c various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00
tif.c various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00
togif.c togif: -E flag to read animation from stdin 2016-06-10 12:14:02 +02:00
toico.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tojpg.c tojpg, totif: change flags to better match those of the decoders 2013-07-20 12:11:52 -04:00
topng.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
toppm.c toppm: no need to initialize err 2013-05-12 18:00:47 -04:00
torgbv.c fix dangerous werrstr() usages 2014-11-07 12:51:59 +01:00
totif.c tojpg, totif: change flags to better match those of the decoders 2013-07-20 12:11:52 -04:00
totruecolor.c totruecolor: support CRGBV images as input 2013-01-20 22:33:12 +01:00
v210.c various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00
writegif.c cmd: remove a bit of unused stuff 2016-11-17 02:59:40 +01:00
writejpg.c tojpg, totif: change flags to better match those of the decoders 2013-07-20 12:11:52 -04:00
writepng.c topng: fix bug causing bogus double insertion of filter alg byte 2012-07-17 02:17:42 +02:00
writeppm.c writejpg: the call to Bflush() is unnecessary; free data before exiting in case of malloc error 2013-07-19 01:07:15 -04:00
writerawimage.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
writetif.c cmd: remove a bit of unused stuff 2016-11-17 02:59:40 +01:00
yuv.c various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00