[brasero] Fix Bug 607767 - integer overflow in brasero_audio2cue_len_to_string



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]