Skip to content

Create pam-type of delinea-secretserver-pam when one exists causes crash #139

@spbsoluble

Description

@spbsoluble
kfutil pam types-create -r delinea-secretserver-pam -n Delinea-SecretServer
kfutil pam types-create -r delinea-secretserver-pam -n Delinea-SecretServer

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

goroutine 1 [running]:
kfutil/cmd.returnHttpErr(0x0, {0x16a5e60, 0xc000233080})
        kfutil/cmd/helpers.go:391 +0x32
kfutil/cmd.glob..func22(0x1a36980, {0x15bcd98?, 0x4?, 0x15bccfc?})
        kfutil/cmd/pam.go:180 +0xa8b
github.com/spf13/cobra.(*Command).execute(0x1a36980, {0xc000434f00, 0x4, 0x4})
        github.com/spf13/[email protected]/command.go:940 +0x87c
github.com/spf13/cobra.(*Command).ExecuteC(0x1a37ac0)
        github.com/spf13/[email protected]/command.go:1068 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/[email protected]/command.go:992
kfutil/cmd.Execute()
        kfutil/cmd/root.go:281 +0x34
main.main()
        kfutil/main.go:30 +0xf

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions