On Sat, Mar 05, 2005 at 11:19:40AM +0100, Benoit Hamet wrote:
> Hi Aurelien,
> Aurelien Jarno wrote:
> >
> >I have check on my system, the definition of i2c_adapter is the same in
> >/usr/src/kernel-headers-2.4.27-2/linux/i2c.h and in
> >/usr/src/modules/i2c/kernel/i2c.h. The ABI is the same, and a driver
> >build with one or with the other header should work.
> The main funtions are the same I agree, but take a close look at the
> sizeof(struct adapter) and you will see that there _is_ a difference
> which conduct to a kind of buffer overflow :/
> 
> If you want I can c&p the 2 structures.
Yes, it would be nice, because a diff between the two files listed
above shows me that there is no difference concerning the structures.

Bye,
Aurelien


-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to