public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* isdn: pcbit: another off-by-one issue?
@ 2015-06-10 19:50 Rasmus Villemoes
  2015-06-11  7:58 ` Dan Carpenter
  0 siblings, 1 reply; 5+ messages in thread
From: Rasmus Villemoes @ 2015-06-10 19:50 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: linux-kernel

Hi Dan

You were last to touch drivers/isdn/pcbit/drv.c (7bcc6738eef), but I
think there may still be an off-by-one in pcbit_set_msn: At the end of
the loop, sp is incremented by len, but if the string contained a comma,
sp will now point at that. At that point, we seem to be stuck in an
infinite loop where we'll always get cp==sp and len==0, until we run out
of memory.

Am I reading this completely wrong?

Rasmus

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

end of thread, other threads:[~2015-06-30 21:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10 19:50 isdn: pcbit: another off-by-one issue? Rasmus Villemoes
2015-06-11  7:58 ` Dan Carpenter
2015-06-11  9:28   ` Rasmus Villemoes
2015-06-11 11:44     ` Paul Bolle
2015-06-30 21:46       ` Tilman Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox