You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nyastodon/lib/paperclip
Jeremy Kescher 1f2f01370b
blurhash_transcoder: prevent out-of-bound reads with <8bpp images
Backport from vanilla: 36bc90e8aa

The Blurhash library used by Mastodon requires an input encoded as 24
bits raw RGB data. The conversion to raw RGB using Imagemagick did not
previously specify the desired bit depth. In some situations, this leads
Imagemagick to output in a pixel format using less bpp than expected.
This then manifested as segfaults of the Sidekiq process due to
out-of-bounds read, or potentially a (highly noisy) memory infoleak.
2 years ago
..
attachment_extensions.rb Remove dependency on running Redis server for db:setup (#18560) 2 years ago
blurhash_transcoder.rb blurhash_transcoder: prevent out-of-bound reads with <8bpp images 2 years ago
color_extractor.rb Fixed code quality issues (#15541) 3 years ago
gif_transcoder.rb Fix animated GIF generates animated thumbnail (#16216) 3 years ago
image_extractor.rb Fix media processing getting stuck on too much stdin/stderr (#16136) 3 years ago
lazy_thumbnail.rb Update ESLint and RuboCop in Code Climate (#12534) 5 years ago
response_with_limit_adapter.rb Fix upload of remote media with OpenStack Swift sometimes failing (#16998) 3 years ago
transcoder.rb Fix audio always being re-encoded even for passthrough-eligible media (#1839) 2 years ago
type_corrector.rb Add customizable thumbnails for audio and video attachments (#14145) 4 years ago
url_generator_extensions.rb Switch from unmaintained paperclip to kt-paperclip (#16724) 3 years ago