Version bump to 5.9.1dr1

This commit is contained in:
Andreas Steffen
2020-10-07 16:54:32 +02:00
parent 3e5a528aec
commit f3d96b7bc9
13 changed files with 39 additions and 14 deletions
+7 -1
View File
@@ -487,7 +487,13 @@ static bool extract_platform_info(os_type_t *type, chunk_t *name,
os_type = OS_TYPE_DEBIAN;
os_version.ptr = buf;
pos = strchr(buf, '\n');
/* extract major release number only */
pos = strchr(buf, '.');
if (!pos)
{
pos = strchr(buf, '\n');
}
if (!pos)
{
DBG1(DBG_PTS, "failed to find end of release string");