[brasero] Fix Bug 607767 - integer overflow in brasero_audio2cue_len_to_string
- From: Luis Medinas <lmedinas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix Bug 607767 - integer overflow in brasero_audio2cue_len_to_string
- Date: Tue, 26 Jan 2010 00:38:59 +0000 (UTC)
commit 82b23d864c0f2028ed7b0dfc626b437704f45dcc
Author: Luis Medinas <metalgod fermi site>
Date: Tue Jan 26 00:36:02 2010 +0000
Fix Bug 607767 - integer overflow in brasero_audio2cue_len_to_string
Thanks to Jonathan Matthew for spotting this
plugins/audio2cue/burn-audio2cue.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/audio2cue/burn-audio2cue.c b/plugins/audio2cue/burn-audio2cue.c
index e078e3b..2118fd6 100644
--- a/plugins/audio2cue/burn-audio2cue.c
+++ b/plugins/audio2cue/burn-audio2cue.c
@@ -310,7 +310,7 @@ brasero_audio2cue_len_to_string (guint64 len)
{
int sec;
int min;
- int frame;
+ guint64 frame;
if (len >= 1000000000)
frame = (len % 1000000000) * 75;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]