From: "David Laight" <redacted>
To: <redacted>, <davem@davemloft.net>
Cc: <redacted>, <redacted>,
[off-list ref]
Date: 07/03/2012 13:20
Subject: RE: [patch 4/7] [PATCH] ctcm: make ctcmpc debugging compilable
What is wrong with:
char addr[24];
snprintf(addr, sizeof addr, "%p", rptr);
There seemed to be other 'dangerous' unbounded string
operations in that code as well.
David
David,
nothing is wrong with your proposal to make use of %p here. Quite the
contrary - it improves the ctcmpc-code. I will keep your proposal in my
mind for a future follow-on ctcmpc-patch. Thanks!
My patch targets compilability of ctcmpc debugging code only.
Ursula