<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/nfc/nci, branch linux-3.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-06-25T14:38:40Z</updated>
<entry>
<title>NFC: Prevent multiple buffer overflows in NCI</title>
<updated>2012-06-25T14:38:40Z</updated>
<author>
<name>Dan Rosenberg</name>
</author>
<published>2012-06-25T14:05:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67de956ff5dc1d4f321e16cfbd63f5be3b691b43'/>
<id>urn:sha1:67de956ff5dc1d4f321e16cfbd63f5be3b691b43</id>
<content type='text'>
Fix multiple remotely-exploitable stack-based buffer overflows due to
the NCI code pulling length fields directly from incoming frames and
copying too much data into statically-sized arrays.

Signed-off-by: Dan Rosenberg &lt;dan.j.rosenberg@gmail.com&gt;
Cc: stable@kernel.org
Cc: security@kernel.org
Cc: Lauro Ramos Venancio &lt;lauro.venancio@openbossa.org&gt;
Cc: Aloisio Almeida Jr &lt;aloisio.almeida@openbossa.org&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Ilan Elias &lt;ilane@ti.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: Quiet nci/ntf.c sparse noise about plain integer as NULL pointer</title>
<updated>2012-05-15T21:30:30Z</updated>
<author>
<name>H Hartley Sweeten</name>
</author>
<published>2012-05-07T10:31:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=799030b75a4398b4e75ca5cb5ec790dc75986111'/>
<id>urn:sha1:799030b75a4398b4e75ca5cb5ec790dc75986111</id>
<content type='text'>
Pointers should be cleared with NULL, not 0.

Quiets a couple sparse warnings of the type:

warning: Using plain integer as NULL pointer

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Lauro Ramos Venancio &lt;lauro.venancio@openbossa.org&gt;
Cc: Aloisio Almeida Jr &lt;aloisio.almeida@openbossa.org&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>NFC: Include nci_core.h to nci/lib.c</title>
<updated>2012-05-15T21:30:29Z</updated>
<author>
<name>H Hartley Sweeten</name>
</author>
<published>2012-05-07T10:31:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=502b42408276431605ceaea5dc026a256acc310e'/>
<id>urn:sha1:502b42408276431605ceaea5dc026a256acc310e</id>
<content type='text'>
Include the header to pickup the exported symbol prototype.

Quites the sparse warning:

warning: symbol 'nci_to_errno' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Lauro Ramos Venancio &lt;lauro.venancio@openbossa.org&gt;
Cc: Aloisio Almeida Jr &lt;aloisio.almeida@openbossa.org&gt;
CC: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
CC: "David S. Miller" &lt;davem@davemloft.net&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>NFC: Quiet nci/data.c sparse noise about plain integer as NULL pointer</title>
<updated>2012-05-15T21:30:29Z</updated>
<author>
<name>H Hartley Sweeten</name>
</author>
<published>2012-05-07T10:31:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=040487f364e03fc4d9fcab5549618642cc3f6fe7'/>
<id>urn:sha1:040487f364e03fc4d9fcab5549618642cc3f6fe7</id>
<content type='text'>
Pointers should be cleared with NULL, not 0.

Quiets a couple sparse warnings of the type:

warning: Using plain integer as NULL pointer

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Lauro Ramos Venancio &lt;lauro.venancio@openbossa.org&gt;
Cc: Aloisio Almeida Jr &lt;aloisio.almeida@openbossa.org&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>NFC: Cache the core NFC active target pointer instead of its index</title>
<updated>2012-05-15T21:27:59Z</updated>
<author>
<name>Eric Lapuyade</name>
</author>
<published>2012-05-07T10:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=900994332675f84a9fbbb33ff089474614c7f2fe'/>
<id>urn:sha1:900994332675f84a9fbbb33ff089474614c7f2fe</id>
<content type='text'>
The NFC Core now caches the active nfc target pointer, thereby avoiding
the need to lookup the target table for each invocation of a driver ops.
Consequently, pn533, HCI and NCI now directly receive an nfc_target
pointer instead of a target index.

Cc: Ilan Elias &lt;ilane@ti.com&gt;
Signed-off-by: Eric Lapuyade &lt;eric.lapuyade@intel.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>NFC: The core part should generate the target index</title>
<updated>2012-04-12T19:10:37Z</updated>
<author>
<name>Samuel Ortiz</name>
</author>
<published>2012-04-10T17:43:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4fbb6515a4dcec83d340247639b5644c4745528'/>
<id>urn:sha1:c4fbb6515a4dcec83d340247639b5644c4745528</id>
<content type='text'>
The target index can be used by userspace to uniquely identify a target
and thus should be kept unique, per NFC adapter. Moreover, some protocols
do not provide a logical index when discovering new targets, so we have to
generate one for them.
For NCI or pn533 to fetch their logical index, we added a logical_idx field
to the target structure.

Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>NFC: NCI code identation fixes</title>
<updated>2012-03-06T20:16:25Z</updated>
<author>
<name>Samuel Ortiz</name>
</author>
<published>2012-03-05T00:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb9bc6e9a0ac668d2283b8fea1534f8ba31d1692'/>
<id>urn:sha1:eb9bc6e9a0ac668d2283b8fea1534f8ba31d1692</id>
<content type='text'>
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>nfc: NULL vs zero in nci_activate_target()</title>
<updated>2012-01-27T19:57:04Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2012-01-26T06:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6269cc83e7c444f3050e0d7e640d079bae17aa68'/>
<id>urn:sha1:6269cc83e7c444f3050e0d7e640d079bae17aa68</id>
<content type='text'>
This is a pointer so it should be NULL instead of zero.  Sparse
complains about this stuff:
net/nfc/nci/core.c:447:37: warning: Using plain integer as NULL pointer

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>NFC: Add NCI multiple targets support</title>
<updated>2012-01-24T19:32:29Z</updated>
<author>
<name>Ilan Elias</name>
</author>
<published>2012-01-18T11:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5'/>
<id>urn:sha1:019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5</id>
<content type='text'>
Add the ability to select between multiple targets in NCI.
If only one target is found, it will be auto-activated.
If more than one target is found, then DISCOVER_NTF will be
generated for each target, and the host should select one by
calling DISCOVER_SELECT_CMD. Then, the target will be activated.
If the activation fails, GENERIC_ERROR_NTF is generated.

Signed-off-by: Ilan Elias &lt;ilane@ti.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>NFC: Clearly separate NCI states from flags</title>
<updated>2012-01-24T19:32:28Z</updated>
<author>
<name>Ilan Elias</name>
</author>
<published>2012-01-18T11:16:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8939e47fc953cce6ef53e79e9ff9b53319d1a72d'/>
<id>urn:sha1:8939e47fc953cce6ef53e79e9ff9b53319d1a72d</id>
<content type='text'>
Make a clear separation between NCI states and flags.
This is required in order to support more NCI states (e.g.
for multiple targets support).

Signed-off-by: Ilan Elias &lt;ilane@ti.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
