public inbox for nncp-devel@lists.stargrave.org
Atom feed
From: "Shawn K. Quinn" <skquinn@rushpost•com>
To: nncp-devel@lists.cypherpunks.ru
Subject: [nncp-devel] crash in nncp-toss from mail packet
Date: Sat, 14 Jan 2017 19:44:33 -0600	[thread overview]
Message-ID: <75c95cac-9d18-e6b5-5e03-d3355f3e7ec3@rushpost.com> (raw)

This is from feeding nncp-mail a short test message from the command
line by hand, on the system tossing them. Even if I'm doing it wrong,
this really shouldn't happen. Worse, this crash will keep happening on
any later run of nncp-toss (on the receiving system) until the packet is
manually deleted.

panic: runtime error: slice bounds out of range

goroutine 1 [running]:
panic(0x68ec00, 0xc82000a070)
	/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
cypherpunks.ru/nncp.(*Ctx).Toss(0xc820058550, 0xc82000f820,
0xc8200900ff, 0xc820058500)
	/home/skquinn/usr/src/nncp-0.1/src/cypherpunks.ru/nncp/toss.go:140 +0x3e82
main.main()

	/home/skquinn/usr/src/nncp-0.1/src/cypherpunks.ru/nncp/cmd/nncp-toss/main.go:89 +0xc47

-- 
Shawn K. Quinn <skquinn@rushpost•com>
http://www.rantroulette.com
http://www.skqrecordquest.com

             reply	other threads:[~2017-01-15  1:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-15  1:44 Shawn K. Quinn [this message]
2017-01-15  8:02 ` [nncp-devel] crash in nncp-toss from mail packet Sergey Matveev
2017-01-15 10:23   ` Shawn K. Quinn
2017-01-15 10:45     ` Sergey Matveev