[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Division Bugs

From: Andrei Borzenkov
Subject: Re: Division Bugs
Date: Mon, 6 Apr 2015 19:34:23 +0300

В Sat, 4 Apr 2015 22:49:28 +0200
Michael Zimmermann <address@hidden> пишет:

> I think I found a bug but I'm not sure.
> at line 53 u write a value to ro:
> *ro = r;
> now take a look at the callers:
> some look like this which should be ok:
> grub_divmod64s (a, b, &ret);
> but there are others like this:
> grub_divmod64s (a, b, 0);
> I got a "data abort, translation fault on write" exception after
> compiling a lib which uses that division function.

Fixed. Unfortunately there does not appear any easy way to
regression test it. Dereferencing 0x0 pointer does not trigger an error,
unless you setup address mapping appropriately.

Thank you for report!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]