<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/platform/tegra/bad.c, branch rtss22-ae</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>drivers: string handling</title>
<updated>2020-05-13T19:40:41+00:00</updated>
<author>
<name>dmitry pervushin</name>
<email>dpervushin@nvidia.com</email>
</author>
<published>2020-05-11T17:30:26+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=f395c71b0997e9b6ed092078a31d76f02dad161e'/>
<id>f395c71b0997e9b6ed092078a31d76f02dad161e</id>
<content type='text'>
gcc9 is more strict about using strncpy... and in many cases it is right
Replacing strncpy with strdup (when possible) or strlcpy

Bug 2973859

Change-Id: I1283db0385d7b35f747d129d3963e8f293e83dc3
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2342280
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gcc9 is more strict about using strncpy... and in many cases it is right
Replacing strncpy with strdup (when possible) or strlcpy

Bug 2973859

Change-Id: I1283db0385d7b35f747d129d3963e8f293e83dc3
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2342280
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>coverity: Compile bad module</title>
<updated>2019-10-25T10:56:55+00:00</updated>
<author>
<name>Hardik Tushar Shah</name>
<email>hardikts@nvidia.com</email>
</author>
<published>2019-10-24T12:04:03+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=54811a70d0b8392664e4bdf7d63fb51da1dd6f96'/>
<id>54811a70d0b8392664e4bdf7d63fb51da1dd6f96</id>
<content type='text'>
Change error to what is supported by coverity.

Bug 2720889

Change-Id: I07208e7124bb1623d63839f1dbd8501422428803
Signed-off-by: Hardik Tushar Shah &lt;hardikts@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2225028
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change error to what is supported by coverity.

Bug 2720889

Change-Id: I07208e7124bb1623d63839f1dbd8501422428803
Signed-off-by: Hardik Tushar Shah &lt;hardikts@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2225028
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>coverity: Compile bad module</title>
<updated>2019-10-18T23:57:51+00:00</updated>
<author>
<name>Hardik Tushar Shah</name>
<email>hardikts@nvidia.com</email>
</author>
<published>2019-10-17T12:59:32+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=8d663105dd7340b36fdd8806822aa99e9675d57b'/>
<id>8d663105dd7340b36fdd8806822aa99e9675d57b</id>
<content type='text'>
It should have been caught on static scan

Bug 2720889

Change-Id: I735bd3cc6a33893c41d1869bd485fe999a6eba67
Signed-off-by: Hardik Tushar Shah &lt;hardikts@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2220232
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It should have been caught on static scan

Bug 2720889

Change-Id: I735bd3cc6a33893c41d1869bd485fe999a6eba67
Signed-off-by: Hardik Tushar Shah &lt;hardikts@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2220232
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>coverity: bad module to demonstrate array overflow</title>
<updated>2019-10-14T19:09:01+00:00</updated>
<author>
<name>Dmitry Pervushin</name>
<email>dpervushin@nvidia.com</email>
</author>
<published>2019-10-04T09:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=1f0f95b5ae02866ca13fb553ceec5b58849147ee'/>
<id>1f0f95b5ae02866ca13fb553ceec5b58849147ee</id>
<content type='text'>
It should have been caught on static scan

Bug 2720889

Change-Id: I07ab96262434c639400bb3eb5d1be2a70a556776
Signed-off-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2211515
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It should have been caught on static scan

Bug 2720889

Change-Id: I07ab96262434c639400bb3eb5d1be2a70a556776
Signed-off-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2211515
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
