[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #42372] integer overflow from RTMP.cpp:1162
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] [bug #42372] integer overflow from RTMP.cpp:1162 |
Date: |
Thu, 15 May 2014 22:02:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 |
Follow-up Comment #2, bug #42372 (project gnash):
The problem seems to be here that getUptime() returns the uptime in
milliseconds, whereas a system's uptime in ms necessarily overflows a 32-bit
integer in under 50 days. In this case, the system has an uptime of over two
years.
The calculated value is being used as a timestamp in RTMP messages. I wonder
if we could use another source for timestamping.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42372>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/