From b35d45e1073e22de38cf25c16a94ff63523fcf07 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 6 Sep 2013 18:32:53 +0400 Subject: [PATCH] driver/netfile.cpp: fix crash, id3 struct not initialized Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/06e6fa5415420cc18432057271751ae3c2b0053a Author: [CST] Focus Date: 2013-09-06 (Fri, 06 Sep 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/netfile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/driver/netfile.cpp b/src/driver/netfile.cpp index c95a0ab35..03eb62763 100644 --- a/src/driver/netfile.cpp +++ b/src/driver/netfile.cpp @@ -340,6 +340,7 @@ int request_file(URL *url) char str[255], *ptr; int slot; ID3 id3; + memset(&id3, 0, sizeof(ID3)); /* get the cache slot for this stream. A negative return value */ /* indicates that no cache has been set up for this stream */