[SCM] Mumudvb packaging branch, upstream, updated. 24c2efb080b56abb8e7be67bae30ba7fe457759e
Brice DUBOST
braice at braice.net
Sat Nov 1 13:31:04 UTC 2008
The following commit has been merged in the upstream branch:
commit af8596ce9f74b323e4f793f92c40e95aa80e6bf8
Author: Brice DUBOST <braice at braice.net>
Date: Mon Sep 22 22:33:40 2008 +0200
We check the length of the given Ip address
diff --git a/src/mumudvb.c b/src/mumudvb.c
index e4679ae..9616612 100644
--- a/src/mumudvb.c
+++ b/src/mumudvb.c
@@ -418,6 +418,12 @@ main (int argc, char **argv)
else if (!strcmp (substring, "ip"))
{
substring = strtok (NULL, delimiteurs);
+ if(strlen(substring)>19)
+ {
+ log_message( MSG_ERROR,
+ "The Ip address %s is too long.\n", substring);
+ exit(ERROR_CONF);
+ }
sscanf (substring, "%s\n", channels[curr_channel].ipOut);
ip_ok = 1;
}
--
Mumudvb packaging
More information about the pkg-vdr-dvb-changes
mailing list