Project

General

Profile

« Previous | Next » 

Revision d37da601

Added by mame (Yusuke Endoh) over 6 years ago

time.c (time_mdump): use another buffer for year_extend

ruby_marshal_write_long may write 9 bytes, but buf has only 8 bytes.
So the buffer cannot be reused. This issue was found by Coverity Scan.