changeset 393:6987b5334081 trunk

[svn] Fix: (WARN: 12386, in pid 29842) Conditional jump or move depends on uninitialised values: at 0x583C3BA: mp4_IsOurFD <libmp4.c:199> by 0x805F5DC: input_check_file <input.c:461> by 0x806233F: playlist_entry_get_info <playlist.c:193> by 0x8065177: playlist_get_songtitle <playlist.c:1719> by 0x807D070: playlistwin_update_sinfo <ui_playlist.c:406> by 0x8064EEF: playlist_load_ins <playlist.c:1639> by 0x8064A1E: playlist_load <playlist.c:1501> by 0x806C084: main <main.c:1114>
author nenolod
date Thu, 21 Dec 2006 12:49:30 -0800
parents aed7c10085e0
children 85e4cd9b45d9
files ChangeLog src/aac/src/libmp4.c
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Dec 20 03:51:01 2006 -0800
+++ b/ChangeLog	Thu Dec 21 12:49:30 2006 -0800
@@ -1,3 +1,12 @@
+2006-12-20 11:51:01 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [860]
+  - ensure that HTTP streams are connection: close.
+  Patch by Daniel Barkalow <barkalow -at- iabervon.org>, closes #702
+  
+  trunk/src/mpg123/http.c |    1 +
+  1 file changed, 1 insertion(+)
+
+
 2006-12-19 07:45:10 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [858]
   - build fix
--- a/src/aac/src/libmp4.c	Wed Dec 20 03:51:01 2006 -0800
+++ b/src/aac/src/libmp4.c	Thu Dec 21 12:49:30 2006 -0800
@@ -161,7 +161,9 @@
   VFSFile *file;
   gchar* extension;
   gchar magic[8];
- 
+
+  memset(magic, '\0', 8);
+
   extension = strrchr(filename, '.');
   if ((file = vfs_fopen(filename, "rb"))) {
       vfs_fread(magic, 1, 8, file);