[vlc-commits] access: dvb: fix null deref/wrong var (cid #1362060)
Francois Cartegnie
git at videolan.org
Wed Nov 22 18:05:01 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 22 14:57:17 2017 +0100| [75788c0b975d5b12d843c3ebccec1c08119b5c51] | committer: Francois Cartegnie
access: dvb: fix null deref/wrong var (cid #1362060)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75788c0b975d5b12d843c3ebccec1c08119b5c51
---
modules/access/dvb/scan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index 2268210909..ae38e43826 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -1411,7 +1411,7 @@ static void ParseNIT( vlc_object_t *p_obj, scan_t *p_scan,
}
if ( s->psz_original_network_name == NULL && p_nn )
- s->psz_original_network_name = strndup( (const char*) p_nn->p_data, p_dsc->i_length );
+ s->psz_original_network_name = strndup( (const char*) p_nn->p_data, p_nn->i_length );
scan_NotifyService( p_scan, s, !b_newservice );
}
More information about the vlc-commits
mailing list