| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | New upstream release (v3.10.14)v3.10.14 | David Sommerseth | 2013-04-05 | 1 | -1/+1 |
| | | | | | Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
| * | Do not add explictly 'dmispec' attributes inside switch() in dmi_decode() | David Sommerseth | 2013-04-05 | 1 | -2/+0 |
| | | | | | | | | | | | The dmispec attribute is added outside the switch() call, and must not be duplicated. If this happens, an invalid XML file will be generated. (Un)fortunately, libxml2 is quite forgiving to this error. But xmllint will complain about it and other XML libraries (such as python-lxml) may reject such XML data. Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
| * | Harden dmi_string() calls with better NULL checks | David Sommerseth | 2011-01-06 | 3 | -10/+28 |
| | | | | | | | | | This patch fixes more potential issues where dmi_string() results was not necessarily checked for NULL, which potentially could lead to SEGV issues. Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
| * | Make use of dmixml_AddDMIstring() where possible | David Sommerseth | 2011-01-06 | 1 | -65/+68 |
| | | | | | | | | | This modifies the core DMI decoding to make use of the new dmixml_AddDMIstring() function instead of the older, more error prone approach of dmi_string() and dmixml_AddTextChild(). Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
| * | Implemented dmixml_AddDMIstring() | David Sommerseth | 2011-01-06 | 2 | -0/+43 |
| | | | | | | | | | | This function can be used instead of dmi_string() and dmixml_AddTextChild(). In those cases where dmi_string() returns NULL, this situation is handled more gracefully. In addition of also handling "not specified" situations better as well. Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
| * | Add SIGILL catcher in mem_chunk() | David Sommerseth | 2010-10-27 | 1 | -14/+53 |
| | | | | | | | | | | | | | On some s390x systems under heavy memory load seems to trigger a SIGILL event when calling memcpy(). To avoid this issue, which basically leads to the complete script to core dump, a signal handler was implemented to add tackle such siutations more gracefully. The SIGILL event should now be logged as well, to be able to see that this happened. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> | ||||
| * | New upstream release - v3.10.13 | Nima Talebi | 2010-06-03 | 1 | -1/+1 |
| | | |||||
| * | Fixed an issue causing SEGV on some hardware when dmi_processor_id() is called | David Sommerseth | 2010-05-26 | 1 | -2/+1 |
| | | | | | | The dmi_processor_id() function did not check the char *version pointer if it was NULL before doing strcmp(). On some hardware, *version will be NULL. | ||||
| * | v3.10.12 in light of recent bugfix release | Nima Talebi | 2010-03-12 | 1 | -1/+1 |
| | | | | | Also, switch to dpkg-source 3.0 (quilt) format. | ||||
| * | Allow format strings to be NULL in dmixml_Add*() functions | David Sommerseth | 2010-04-20 | 1 | -5/+19 |
| | | | | | | | | | | | | This bug was reported by Jan HutaĆ <jhutar@redhat.com> [1] The implemented fix avoids assertions if the format strings to dmixml_AddAttribute(), dmixml_AddTextChild() and dmixml_AddTextContent() functions are NULL. In these cases, it will result in an empty value instead of returning NULL from these functions. [1] <https://bugzilla.redhat.com/show_bug.cgi?id=583867> | ||||
| * | Add a little hint where decoding got aborted | David Sommerseth | 2010-04-20 | 1 | -2/+2 |
| | | |||||
| * | New feature release (log handling)v3.10.11 | Nima Talebi | 2010-02-16 | 1 | -1/+1 |
| | | |||||
| * | New upstream release (v3.10.10) | Nima Talebi | 2010-02-16 | 1 | -1/+1 |
| | | |||||
| * | Improved DMIerror message tag when decoding is not possible | David Sommerseth | 2010-02-05 | 1 | -6/+16 |
| | | | | | Plus some minor code style clean up | ||||
| * | Removed not needed \n from log_append() entries | David Sommerseth | 2010-02-05 | 6 | -14/+14 |
| | | |||||
| * | Added logging flag to log_append() to change log behaviour | David Sommerseth | 2010-02-05 | 8 | -65/+83 |
| | | | | | | | | | | | | | | | Valid flags are: * LOGFL_NORMAL Log all messages to the log context, and send log message to stderr on errors * LOGFL_NODUPS Log only unique messages. Duplicated messages will be removed * LOGFL_NOSTDERR Don't write to stderr, even if errors occur | ||||
| * | Ported fprintf() -> log_append() on XML functions | David Sommerseth | 2010-01-08 | 5 | -63/+74 |
| | | |||||
| * | Update Python build rules | David Sommerseth | 2010-01-08 | 2 | -0/+2 |
| | | |||||
| * | Port dmidump to use the new log API | David Sommerseth | 2010-01-08 | 1 | -4/+4 |
| | | | | | | | This port will not create a new log buffer (Log_t), but log_append() will print errors to stderr in this case, as the log buffer pointer is NULL. | ||||
| * | More fprintf() -> log_append() porting | David Sommerseth | 2010-01-08 | 7 | -34/+36 |
| | | |||||
| * | Implement a global log buffer and start porting fprint() -> log_append() | David Sommerseth | 2010-01-08 | 2 | -24/+75 |
| | | |||||
| * | Don't print false error warning if logp == NULL | David Sommerseth | 2010-01-08 | 1 | -1/+7 |
| | | |||||
| * | Added a new log API | David Sommerseth | 2010-01-08 | 2 | -0/+266 |
| | | |||||
| * | Moved write_dump() over to dmidump.c, as this is the only user of this function | David Sommerseth | 2010-01-08 | 2 | -36/+38 |
| | | |||||
| * | Removed struct dmi_minor. It was not used anywhere. | David Sommerseth | 2010-01-08 | 1 | -8/+0 |
| | | |||||
| * | Make sure const char *filename is not a wild pointer | David Sommerseth | 2010-01-07 | 1 | -1/+1 |
| | | |||||
| * | Removed not needed information | David Sommerseth | 2010-01-07 | 1 | -1/+0 |
| | | |||||
| * | Forgot to update versioning informationv3.10.9 | Nima Talebi | 2010-01-07 | 1 | -1/+1 |
| | | | | | | (Despite dazo automating the process with a script, it was obviously still too difficult). | ||||
| * | Changes necessary to keep Debian packages sane | Nima Talebi | 2010-01-06 | 1 | -1/+1 |
| | | | | | | | | | Both setup.py and setup-dbg.py install the same file, namely: /usr/share/pyshared/dmidecode.py This generated Bug#561904. This commit closes this bug. | ||||
| * | Improved set_dev() function | David Sommerseth | 2009-12-17 | 1 | -5/+17 |
| | | | | | | | | | | This function would often fail during the unit test. Most probably because the complete error checking was a bit odd. Rewritten the error checks to be a bit more sane. Also improved error situations, where it will now throw an exception with an error message instead of just returning False. | ||||
| * | Take endinanness into consideration when compiling | David Sommerseth | 2009-12-14 | 3 | -2/+14 |
| | | |||||
| * | Spelling fixes | Nima Talebi | 2009-12-14 | 2 | -2/+2 |
| | | | | | Thanks Lintian! You're a champ! | ||||
| * | Changed version number to 3.10.8 | David Sommerseth | 2009-12-10 | 1 | -1/+1 |
| | | |||||
| * | New release (3.10.7) | Nima Talebi | 2009-09-23 | 1 | -1/+1 |
| | | |||||
| * | Moved a OS-specific library settings out to commonv3.10.6-rc1 | Nima Talebi | 2009-08-03 | 3 | -6/+8 |
| | | | | | | The libxml2 path is now handled by `setup_common.py', so the actual setup files are clean from any OS-specific (Debian/RedHat) hacks. | ||||
| * | Completed python XML map for TypeMap 0x26 | David Sommerseth | 2009-07-02 | 1 | -2/+18 |
| | | |||||
| * | Completed python XML map for TypeMap 0x21 | David Sommerseth | 2009-07-02 | 1 | -1/+17 |
| | | |||||
| * | Completed python XML map for TypeMap 0x1E | David Sommerseth | 2009-07-02 | 1 | -1/+13 |
| | | |||||
| * | Completed python XML map for TypeMap 0x1C | David Sommerseth | 2009-07-02 | 2 | -2/+25 |
| | | |||||
| * | Completed python XML map for TypeMap 0x1B | David Sommerseth | 2009-07-02 | 1 | -1/+11 |
| | | |||||
| * | Completed python XML map for TypeMap 0x1A | David Sommerseth | 2009-07-02 | 1 | -1/+24 |
| | | |||||
| * | Completed python XML map for TypeMap 0x19 | David Sommerseth | 2009-07-02 | 1 | -1/+9 |
| | | | | | | | | | | | Format has changed slightly. The original format in v2.10 was: {'Next Scheduled Power-on': [' *','-*',' 0',':0',':0']} The new format is: {'Next Scheduled Power-on': '*-* *:*:*'} The reason is that the formatting in the original list was rather half-done, containing separators in some of the elements. | ||||
| * | Completed python XML map for TypeMap 0x18 | David Sommerseth | 2009-07-02 | 1 | -1/+16 |
| | | |||||
| * | Completed python XML map for TypeMap 0x17 | David Sommerseth | 2009-07-02 | 1 | -1/+17 |
| | | |||||
| * | Completed python XML map for TypeMap 0x16 | David Sommerseth | 2009-07-02 | 2 | -2/+23 |
| | | |||||
| * | Completed python XML map for TypeMap 0x15 | David Sommerseth | 2009-07-02 | 1 | -0/+10 |
| | | |||||
| * | Completed python XML map for TypeMap 0x14 | David Sommerseth | 2009-07-02 | 1 | -1/+18 |
| | | |||||
| * | Completed python XML map for TypeMap 0x13 | David Sommerseth | 2009-07-02 | 1 | -1/+14 |
| | | |||||
| * | Completed python XML map for TypeMap 0x12 | David Sommerseth | 2009-07-02 | 1 | -1/+18 |
| | | |||||
| * | Completed python XML map for TypeMap 0x0C | David Sommerseth | 2009-07-02 | 1 | -1/+11 |
| | | |||||
