pluginloader: Add a magic number and maximum size limit.
authorJan Schmidt <thaytan@noraisin.net>
Sun, 4 Oct 2009 13:30:34 +0000 (14:30 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Tue, 6 Oct 2009 18:51:45 +0000 (19:51 +0100)
commit8108494a389b374829f6fba3778152800d3239a1
tree0da8e588ea99828c8e543e1a014a4c33e67d4ffa
parent97d6c854ae606e64f25741cc8471a098831c2ab5
pluginloader: Add a magic number and maximum size limit.

Guard against a hostile child process that sends bogus data
due to memory corruption by adding a magic number to each packet,
and limit the maximum size of any message to 32MB
gst/gstpluginloader.c