<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Secure Fault after nrf_spis.h configures, accessing pointer without checking for NULL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103761/secure-fault-after-nrf_spis-h-configures-accessing-pointer-without-checking-for-null</link><description>I&amp;#39;m working on a project with SPIS. In certain cases I do not have a buffer to send and I set the spi_buf_set tx_bufs members buffers to NULL. 
 This code in zephyr/drivers/spi/spi_nrfs_spis.c accesses buffers without first checking if it is NULL. Since</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Sep 2023 11:54:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103761/secure-fault-after-nrf_spis-h-configures-accessing-pointer-without-checking-for-null" /><item><title>RE: Secure Fault after nrf_spis.h configures, accessing pointer without checking for NULL</title><link>https://devzone.nordicsemi.com/thread/446055?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 11:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f776b07-fa05-4631-8bf4-b4eca8e4e259</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have made an internal jira so this may be looked into next time the nrfx drivers is reviewed.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>