Security patch for ctools