Project

General

Profile

« Previous | Next » 

Revision 0dd0971e

Added by nobu (Nobuyoshi Nakada) over 7 years ago

mjit.c: fix buffer overflow

  • mjit.c (sprint_uniq_filename): get rid of silent buffer
    overflow.

  • mjit.c (get_uniq_filename, convert_unit_to_func): allocate
    enough buffer before formatting.

  • mjit.c (convert_unit_to_func): use DLEXT instead of hard coded
    extension.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e