[bt-devel] Bug when using BtInstallMgr

Eeli Kaikkonen eekaikko at mail.student.oulu.fi
Sat Oct 24 15:10:13 MST 2009


On Sat, 24 Oct 2009, Jaak Ristioja wrote:

> Hi!
>
> I'm not sure who is responsible for having written code using the method
>
> void BtInstallMgr::statusUpdate(double dltotal, double dlnow),
>
> but when this method is called, it uses uninitialized values of
> BtInstallMgr::m_completedBytes and BtInstallMgr::m_totalBytes, which
> might in some cases even lead to division-by-zero exceptions etc. I
> think this happens because the BtInstallMgr::preStatus is not called
> before calling BtInstallMgr::statusUpdate (at least ack and grep didn't
> show anything calling preStatus).
>
> I can't fix this myself, because I don't know that code this well.
>

Almost all of the Bookshelf Manager code is mine. I'll look into this.

  Yours,
	Eeli Kaikkonen (Mr.), Oulu, Finland
	e-mail: eekaikko at mailx.studentx.oulux.fix (with no x)



More information about the bt-devel mailing list