<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dmidecode-git.git, branch master</title>
<subtitle>git.savannah.gnu.org: git/dmidecode.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/'/>
<entry>
<title>Move function dmi_hp_240_attr() where it belongs</title>
<updated>2023-05-02T09:55:06+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2023-05-02T09:55:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=a183fbeba81ccb9f91aadf2625050854bf888f81'/>
<id>a183fbeba81ccb9f91aadf2625050854bf888f81</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dmioem: Decode HPE OEM Record 197</title>
<updated>2023-05-02T09:52:02+00:00</updated>
<author>
<name>Jerry Hoemann</name>
<email>jerry.hoemann@hpe.com</email>
</author>
<published>2023-05-02T09:52:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=d26d1d0e76bf598463f22bde48da63d9fe33e31a'/>
<id>d26d1d0e76bf598463f22bde48da63d9fe33e31a</id>
<content type='text'>
Decode HPE OEM Record 197: Processor Information

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Decode HPE OEM Record 197: Processor Information

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't read beyond sysfs entry point buffer</title>
<updated>2023-04-26T13:44:31+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2023-04-26T13:44:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=2b83c4b898f8325313162f588765411e8e3e5561'/>
<id>2b83c4b898f8325313162f588765411e8e3e5561</id>
<content type='text'>
Functions smbios_decode() and smbios3_decode() include a check
against buffer overrun. This check assumes that the buffer length is
always 32 bytes. This is true when reading from /dev/mem or from a
dump file, however when reading from sysfs, the buffer length is the
size of the actual sysfs attribute file, typically 31 bytes for an
SMBIOS 2.x entry point and 24 bytes for an SMBIOS 3.x entry point.

In the unlikely event of a malformed entry point, with encoded length
larger than expected but smaller than or equal to 32, we would hit a
buffer overrun. So properly pass the actual buffer length as an
argument and perform the check against it.

In practice, this will never happen, because on the Linux kernel
side, the size of the sysfs attribute file is decided from the entry
point length field. So it is technically impossible for them not to
match. But user-space code should not make such assumptions.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Functions smbios_decode() and smbios3_decode() include a check
against buffer overrun. This check assumes that the buffer length is
always 32 bytes. This is true when reading from /dev/mem or from a
dump file, however when reading from sysfs, the buffer length is the
size of the actual sysfs attribute file, typically 31 bytes for an
SMBIOS 2.x entry point and 24 bytes for an SMBIOS 3.x entry point.

In the unlikely event of a malformed entry point, with encoded length
larger than expected but smaller than or equal to 32, we would hit a
buffer overrun. So properly pass the actual buffer length as an
argument and perform the check against it.

In practice, this will never happen, because on the Linux kernel
side, the size of the sysfs attribute file is decided from the entry
point length field. So it is technically impossible for them not to
match. But user-space code should not make such assumptions.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently use read_file() when reading from a dump file</title>
<updated>2023-04-26T13:44:27+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2023-04-26T13:44:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=c76ddda0ba0aa99a55945e3290095c2ec493c892'/>
<id>c76ddda0ba0aa99a55945e3290095c2ec493c892</id>
<content type='text'>
Use read_file() instead of mem_chunk() to read the entry point from a
dump file. This is faster, and consistent with how we then read the
actual DMI table from that dump file.

This made no functional difference so far, which is why it went
unnoticed for years. But now that a file type check was added to the
mem_chunk() function, we must stop using it to read from regular
files.

This will again allow root to use the --from-dump option.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Tested-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use read_file() instead of mem_chunk() to read the entry point from a
dump file. This is faster, and consistent with how we then read the
actual DMI table from that dump file.

This made no functional difference so far, which is why it went
unnoticed for years. But now that a file type check was added to the
mem_chunk() function, we must stop using it to read from regular
files.

This will again allow root to use the --from-dump option.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Tested-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dmioem: Update HPE OEM Record 216</title>
<updated>2023-04-07T15:53:05+00:00</updated>
<author>
<name>Jerry Hoemann</name>
<email>jerry.hoemann@hpe.com</email>
</author>
<published>2023-04-07T15:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=a8b797d2637812dfc7091476eed57e548c3fb78a'/>
<id>a8b797d2637812dfc7091476eed57e548c3fb78a</id>
<content type='text'>
New firmware type.
(Also remove non-ASCII character in string literal.)

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New firmware type.
(Also remove non-ASCII character in string literal.)

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dmioem: Update HPE OEM Record 238</title>
<updated>2023-04-07T15:53:01+00:00</updated>
<author>
<name>Jerry Hoemann</name>
<email>jerry.hoemann@hpe.com</email>
</author>
<published>2023-04-07T15:53:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=c525e02f2bf8d1c56d68656d08b2f76be34f4c27'/>
<id>c525e02f2bf8d1c56d68656d08b2f76be34f4c27</id>
<content type='text'>
Add new location.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new location.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dmioem: Update HPE OEM Record 236</title>
<updated>2023-04-07T15:52:57+00:00</updated>
<author>
<name>Jerry Hoemann</name>
<email>jerry.hoemann@hpe.com</email>
</author>
<published>2023-04-07T15:52:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=d14234bf1eba740c2360541efe279d76176dab90'/>
<id>d14234bf1eba740c2360541efe279d76176dab90</id>
<content type='text'>
Record type deprecated for Gen11.  If record number reused in future,
it will have a different decoding.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Record type deprecated for Gen11.  If record number reused in future,
it will have a different decoding.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dmioem: Update HPE OEM Record 212</title>
<updated>2023-04-07T15:52:53+00:00</updated>
<author>
<name>Jerry Hoemann</name>
<email>jerry.hoemann@hpe.com</email>
</author>
<published>2023-04-07T15:52:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=5ab166b9803a51c7a584daee2dc2326f932c3795'/>
<id>5ab166b9803a51c7a584daee2dc2326f932c3795</id>
<content type='text'>
Record type deprecated for Gen9.  If record number reused in future,
it will have a different decoding.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Record type deprecated for Gen9.  If record number reused in future,
it will have a different decoding.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dmioem: Update HPE OEM Record 221</title>
<updated>2023-04-07T15:52:46+00:00</updated>
<author>
<name>Jerry Hoemann</name>
<email>jerry.hoemann@hpe.com</email>
</author>
<published>2023-04-07T15:52:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=cda5931632c1226825ebc81b99bf8a5c7f7794da'/>
<id>cda5931632c1226825ebc81b99bf8a5c7f7794da</id>
<content type='text'>
Record type deprecated for Gen8.  If record number reused in future,
it will have a different decoding.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Record type deprecated for Gen8.  If record number reused in future,
it will have a different decoding.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dmioem: Update HPE OEM Record 203</title>
<updated>2023-04-07T15:52:04+00:00</updated>
<author>
<name>Jerry Hoemann</name>
<email>jerry.hoemann@hpe.com</email>
</author>
<published>2023-04-07T15:52:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=a4c2bede047914ddb4bf3589ba3b033fb034a4af'/>
<id>a4c2bede047914ddb4bf3589ba3b033fb034a4af</id>
<content type='text'>
Add new device locations and flag value.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new device locations and flag value.

Signed-off-by: Jerry Hoemann &lt;jerry.hoemann@hpe.com&gt;
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
