Re: [PATCH] x86, ioremap: use %pR in printk

Johannes Berg
2008-10-20T12:58:33Z

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

On Mon, 2008-10-20 at 13:36 +0200, Ingo Molnar wrote:

> + /* room for the actual number, the "0x" and the final zero */
> + char sym[2*sizeof(phys_addr_t) + 2];

Buffer overflow.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]