mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-06 17:46:55 +00:00
5a969c8eb7
Which credential is wanted is named in <arg>. A request without one reached a dereference of an undefined array ref, so xcatd died inside the plugin and shipped the Perl error back to the client instead of ignoring the request. Check for the element before the callback is made, and log and drop the request the same way a bad callback port is dropped. A client that sends a malformed request now learns nothing about the server, which is the point: this path hands out cluster certificates to anything whose address resolves.