k3s/cmd
Ed Bartosh f8d235be9e kubeadm: fix url validation code
Fixed nil pointer dereference in url validation code that
caused kubeamd panic:

  panic: runtime error: invalid memory address or nil pointer dereference
  [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xa7930c]

  goroutine 1 [running]:
  kubeadm/validation.ValidateURLs(0x40000bafe0, 0x2, 0x2, 0x1, 0x40002967b0, 0x0, 0x40002967b0, 0xf302a0)
    kubeadm/validation/validation.go:324 +0xcc
  kubeadm/validation.ValidateEtcd(0x400000b490, 0x4000296720, 0x0, 0x0, 0x0)
    kubeadm/validation/validation.go:291 +0x1f0
      ...

Fixes: kubernetes/kubeadm#1419

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2019-02-23 16:48:22 +01:00
..
clicheck Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
cloud-controller-manager enforce that cloud providers are only linked in main or app packages 2019-02-22 11:56:39 -08:00
controller-manager enforce that cloud providers are only linked in main or app packages 2019-02-22 11:56:39 -08:00
gendocs Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
genkubedocs Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
genman Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
genswaggertypedocs Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
genutils Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
genyaml Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
hyperkube Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
importverifier delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
kube-apiserver Merge pull request #71896 from awly/client-go-keyutil 2019-02-23 01:43:16 -08:00
kube-controller-manager Merge pull request #71896 from awly/client-go-keyutil 2019-02-23 01:43:16 -08:00
kube-proxy Merge pull request #70896 from ksubrmnn/overlay_dsr 2019-02-20 12:53:13 -08:00
kube-scheduler delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
kubeadm kubeadm: fix url validation code 2019-02-23 16:48:22 +01:00
kubectl autogen files to support new project structure. 2019-02-15 10:29:31 -05:00
kubelet Merge pull request #73930 from ixdy/bazel-cgo-crossbuild 2019-02-23 01:43:27 -08:00
kubemark Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
linkcheck Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
BUILD gke-certificates-controller: rm -rf 2018-02-15 12:01:00 -08:00
OWNERS Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00