Project

General

Profile

Actions

Bug #12195

closed

[BUG] probable buffer overflow: 4010 for 2005 (CFUNC :read)

Added by weugek (James Watson) over 8 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
[ruby-core:74450]

Description

This causes ruby to shutdown:
[[https://github.com/minad/mimemagic/blob/master/lib/mimemagic.rb#L112]]
recursive read and seek on a file for a table of regexps.
It's a gem for mime type detection.

The code is running in a rails Sidekiq worker.
It's a delayed job to detect uploaded file type.
The file is stored in a distributed fs CF.


Files

crash.log (211 KB) crash.log weugek (James Watson), 03/18/2016 08:07 AM

Updated by hsbt (Hiroshi SHIBATA) over 8 years ago

  • Status changed from Open to Feedback

Please try with Ruby 2.3.1

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0