phdc: Check for the sender identity before registering the agent
authorSamuel Ortiz <sameo@linux.intel.com>
Sun, 24 Nov 2013 23:39:30 +0000 (00:39 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 24 Nov 2013 23:39:30 +0000 (00:39 +0100)
commit201f28bd1d0a5e75e572e21f13dceaac0a5284e9
treef5560207500c103429cb8d922ca4cdc2a0c6fec2
parent37ad7123188f8c45d583706a625525394c636327
phdc: Check for the sender identity before registering the agent

In order to avoid DoS type of errors by only allowing the registrer to
unregister.

Code review done by Sebastian Krahmer <krahmer@suse.de>.
plugins/phdc.c