public inbox for nncp-devel@lists.stargrave.org
Atom feed
* [nncp-devel] crash in nncp-toss from mail packet
@ 2017-01-15  1:44 Shawn K. Quinn
  2017-01-15  8:02 ` Sergey Matveev
  0 siblings, 1 reply; 4+ messages in thread
From: Shawn K. Quinn @ 2017-01-15  1:44 UTC (permalink / raw)
  To: nncp-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-15 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-15  1:44 [nncp-devel] crash in nncp-toss from mail packet Shawn K. Quinn
2017-01-15  8:02 ` Sergey Matveev
2017-01-15 10:23   ` Shawn K. Quinn
2017-01-15 10:45     ` Sergey Matveev