<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lainchan.git/inc/image.php, branch php7.4</title>
<subtitle>Fork of github.com/lainchan/lainchan
</subtitle>
<id>http://cgit.dandokmang.com/lainchan.git/atom?h=php7.4</id>
<link rel='self' href='http://cgit.dandokmang.com/lainchan.git/atom?h=php7.4'/>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/'/>
<updated>2019-02-26T00:59:18Z</updated>
<entry>
<title>Moving imagecreatefrombmp to polyfill</title>
<updated>2019-02-26T00:59:18Z</updated>
<author>
<name>Benjamin Southall</name>
<email>applemansigloo@gmail.com</email>
</author>
<published>2019-02-26T00:59:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=b9d75cdf11e39a8f46bd1441e75e0c0745fb1753'/>
<id>urn:sha1:b9d75cdf11e39a8f46bd1441e75e0c0745fb1753</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix some png images being discarded</title>
<updated>2015-03-31T03:20:00Z</updated>
<author>
<name>czaks</name>
<email>marcin@6irc.net</email>
</author>
<published>2015-03-31T03:20:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=300e9e7e71bb9a3e095dca425e944e2fbf6e5117'/>
<id>urn:sha1:300e9e7e71bb9a3e095dca425e944e2fbf6e5117</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SECURITY: imagemagick/graphicsmagick was ignoring all errors</title>
<updated>2014-10-12T08:23:03Z</updated>
<author>
<name>8chan</name>
<email>admin@8chan.co</email>
</author>
<published>2014-10-11T22:41:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=6052ed8d3d6b39e870fdb403584f05efde7d91c8'/>
<id>urn:sha1:6052ed8d3d6b39e870fdb403584f05efde7d91c8</id>
<content type='text'>
So, in a much older patch I had a problem where an incorrect RGB
profile would make image uploads fail. I fixed this by using strpos
against the error message...but didn't check the return value
correctly.

That means that any error from gm/im was ignored. This caused people
to upload too large images and flood /b/ with 1 x 10000 pixel images

My fault, patched now. Sorry about that.

Conflicts:
	inc/image.php
</content>
</entry>
<entry>
<title>fix pngs better</title>
<updated>2014-02-22T14:54:46Z</updated>
<author>
<name>czaks</name>
<email>marcin@6irc.net</email>
</author>
<published>2014-02-22T14:54:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=7283c4caeeb3ba56163c93af211ee24bfc3946f1'/>
<id>urn:sha1:7283c4caeeb3ba56163c93af211ee24bfc3946f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>actually fix png posting for some images not fully supported by gm/imagemagick</title>
<updated>2014-02-22T14:47:29Z</updated>
<author>
<name>czaks</name>
<email>marcin@6irc.net</email>
</author>
<published>2014-02-22T14:47:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=c0d3a235745a2291374ed4a21082e123af7b3440'/>
<id>urn:sha1:c0d3a235745a2291374ed4a21082e123af7b3440</id>
<content type='text'>
</content>
</entry>
<entry>
<title>png resizing: depending on error messages with pngs is flawy</title>
<updated>2014-02-10T22:44:20Z</updated>
<author>
<name>czaks</name>
<email>marcin@6irc.net</email>
</author>
<published>2014-02-10T22:44:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=ede30d5eed0263ecbb2a4d5cc626de83fc8f10e3'/>
<id>urn:sha1:ede30d5eed0263ecbb2a4d5cc626de83fc8f10e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>inc/image.php: i18n</title>
<updated>2014-01-04T18:26:44Z</updated>
<author>
<name>czaks</name>
<email>marcin@6irc.net</email>
</author>
<published>2014-01-04T18:26:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=0264a5ca6d5c8976d9a3c544bf9c9d7b9d14be6d'/>
<id>urn:sha1:0264a5ca6d5c8976d9a3c544bf9c9d7b9d14be6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>image resizing: fix a problem with some pngs; reported by urban</title>
<updated>2014-01-04T18:09:30Z</updated>
<author>
<name>czaks</name>
<email>marcin@6irc.net</email>
</author>
<published>2014-01-04T18:09:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=9a5f3b2e31a00d13a8ae5320720d8a26976debc0'/>
<id>urn:sha1:9a5f3b2e31a00d13a8ae5320720d8a26976debc0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleaner check to make sure inc/ files aren't accessed directly.</title>
<updated>2013-09-06T10:12:04Z</updated>
<author>
<name>Michael Foster</name>
<email>savetheinternet@tinyboard.org</email>
</author>
<published>2013-09-06T10:12:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=7f0de936082fb35d4e18fbadfe9849acdfc03ab6'/>
<id>urn:sha1:7f0de936082fb35d4e18fbadfe9849acdfc03ab6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bugfix: Corrupt images were not getting removed from /tmp (convert, gm, and gifsicle)</title>
<updated>2013-08-28T07:20:29Z</updated>
<author>
<name>Michael Foster</name>
<email>savetheinternet@tinyboard.org</email>
</author>
<published>2013-08-28T07:20:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/lainchan.git/commit/?id=fcb88b16cdf79f7f543f923b3d5fa39bbdbfb239'/>
<id>urn:sha1:fcb88b16cdf79f7f543f923b3d5fa39bbdbfb239</id>
<content type='text'>
</content>
</entry>
</feed>
