Project

General

Profile

Actions

Bug #53

closed

panic: runtime error: slice bounds out of range [:111] with capacity 8

Added by Jörg Ebeling about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
11/04/2021
Due date:
% Done:

100%

Estimated time:

Description

Full crash (probably related to a 8th LDAP client):

Nov 4 16:31:06 server02 l2cpbg[47993]: panic: runtime error: slice bounds out of range [:111] with capacity 8
Nov 4 16:31:06 server02 l2cpbg[47993]: goroutine 127 [running]:
Nov 4 16:31:06 server02 l2cpbg[47993]: github.com/nmcclain/asn1-ber.decodePacket(0xc00068608b, 0x2, 0x8, 0xc000680a20, 0xc00068608b, 0x2, 0x8)
Nov 4 16:31:06 server02 l2cpbg[47993]: #011/home/jebeling/go/pkg/mod/github.com/nmcclain/asn1-ber@v0.0.0-20170104154839-2661553a0484/ber.go:335 +0x7e5
Nov 4 16:31:06 server02 l2cpbg[47993]: github.com/nmcclain/asn1-ber.decodePacket(0xc000686037, 0x5c, 0x5c, 0xc000680780, 0xc000686037, 0x5c, 0x5c)
Nov 4 16:31:06 server02 l2cpbg[47993]: #011/home/jebeling/go/pkg/mod/github.com/nmcclain/asn1-ber@v0.0.0-20170104154839-2661553a0484/ber.go:341 +0x279
Nov 4 16:31:06 server02 l2cpbg[47993]: github.com/nmcclain/asn1-ber.decodePacket(0xc000686006, 0x8d, 0x8d, 0xc0006804e0, 0xc000686006, 0x8d, 0x8d)
Nov 4 16:31:06 server02 l2cpbg[47993]: #011/home/jebeling/go/pkg/mod/github.com/nmcclain/asn1-ber@v0.0.0-20170104154839-2661553a0484/ber.go:341 +0x279
Nov 4 16:31:06 server02 l2cpbg[47993]: github.com/nmcclain/asn1-ber.decodePacket(0xc000686000, 0x93, 0x93, 0x90, 0x90, 0x0, 0x0)
Nov 4 16:31:06 server02 l2cpbg[47993]: #011/home/jebeling/go/pkg/mod/github.com/nmcclain/asn1-ber@v0.0.0-20170104154839-2661553a0484/ber.go:341 +0x279
Nov 4 16:31:06 server02 l2cpbg[47993]: github.com/nmcclain/asn1-ber.DecodePacket(...)
Nov 4 16:31:06 server02 l2cpbg[47993]: #011/home/jebeling/go/pkg/mod/github.com/nmcclain/asn1-ber@v0.0.0-20170104154839-2661553a0484/ber.go:304
Nov 4 16:31:06 server02 l2cpbg[47993]: github.com/nmcclain/asn1-ber.ReadPacket(0xe34c00, 0xc000278000, 0xc000278000, 0xe34c00, 0xc000278000)
Nov 4 16:31:06 server02 l2cpbg[47993]: #011/home/jebeling/go/pkg/mod/github.com/nmcclain/asn1-ber@v0.0.0-20170104154839-2661553a0484/ber.go:253 +0x56c
Nov 4 16:31:06 server02 l2cpbg[47993]: github.com/nmcclain/ldap.(*Server).handleConnection(0xc000245030, 0xe48de0, 0xc000278000)
Nov 4 16:31:06 server02 l2cpbg[47993]: #011/usr/src/Apehaenger/ldap/server.go:231 +0x2e5
Nov 4 16:31:06 server02 l2cpbg[47993]: created by github.com/nmcclain/ldap.(*Server).Serve
Nov 4 16:31:06 server02 l2cpbg[47993]: #011/usr/src/Apehaenger/ldap/server.go:215 +0xf6
Nov 4 16:31:06 server02 systemd[1]: l2cpbg.service: Main process exited, code=exited, status=2/INVALIDARGUMENT


Files

Actions

Also available in: Atom PDF

Go to top