aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-12 17:13:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-12 17:13:21 +0100
commitceaf43907243e7289bf872d549bc979de33fe99f (patch)
tree4d0f032822dd0f7995c379e064116a963186ee98
parent46153c81e8e893edd06af37358ecde6889906dda (diff)
downloadvulns-ceaf43907243e7289bf872d549bc979de33fe99f.tar.gz
bippy: fix up the version detection
It kept picking up the version of the commit for the repo, not the file itself, which meant it was always being updated for no good reason. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--cve/published/2023/CVE-2023-1851.json2
-rw-r--r--cve/published/2023/CVE-2023-21657.json2
-rw-r--r--cve/published/2023/CVE-2023-21658.json2
-rw-r--r--cve/published/2023/CVE-2023-21659.json2
-rw-r--r--cve/published/2024/CVE-2024-0052.json2
-rw-r--r--cve/published/2024/CVE-2024-20607.json2
-rwxr-xr-xscripts/bippy2
7 files changed, 7 insertions, 7 deletions
diff --git a/cve/published/2023/CVE-2023-1851.json b/cve/published/2023/CVE-2023-1851.json
index e2b70c18..db25f0f2 100644
--- a/cve/published/2023/CVE-2023-1851.json
+++ b/cve/published/2023/CVE-2023-1851.json
@@ -74,7 +74,7 @@
],
"title": "nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local",
"x_generator": {
- "engine": "bippy-01c364bc8c18"
+ "engine": "bippy-e4e2f17819c1"
}
}
},
diff --git a/cve/published/2023/CVE-2023-21657.json b/cve/published/2023/CVE-2023-21657.json
index 952cb8c2..be6abbf9 100644
--- a/cve/published/2023/CVE-2023-21657.json
+++ b/cve/published/2023/CVE-2023-21657.json
@@ -68,7 +68,7 @@
],
"title": "kvm: initialize all of the kvm_debugregs structure before sending it to userspace",
"x_generator": {
- "engine": "bippy-01c364bc8c18"
+ "engine": "bippy-e4e2f17819c1"
}
}
},
diff --git a/cve/published/2023/CVE-2023-21658.json b/cve/published/2023/CVE-2023-21658.json
index d8fa7c38..d0598760 100644
--- a/cve/published/2023/CVE-2023-21658.json
+++ b/cve/published/2023/CVE-2023-21658.json
@@ -74,7 +74,7 @@
],
"title": "memstick: fix memory leak if card device is never registered",
"x_generator": {
- "engine": "bippy-01c364bc8c18"
+ "engine": "bippy-e4e2f17819c1"
}
}
},
diff --git a/cve/published/2023/CVE-2023-21659.json b/cve/published/2023/CVE-2023-21659.json
index 20f6e1fd..8a121941 100644
--- a/cve/published/2023/CVE-2023-21659.json
+++ b/cve/published/2023/CVE-2023-21659.json
@@ -32,7 +32,7 @@
],
"title": "fs: sysfs_emit_at: Remove PAGE_SIZE alignment check",
"x_generator": {
- "engine": "bippy-01c364bc8c18"
+ "engine": "bippy-e4e2f17819c1"
}
}
},
diff --git a/cve/published/2024/CVE-2024-0052.json b/cve/published/2024/CVE-2024-0052.json
index d74a90db..206fae86 100644
--- a/cve/published/2024/CVE-2024-0052.json
+++ b/cve/published/2024/CVE-2024-0052.json
@@ -38,7 +38,7 @@
],
"title": "mm/memory_hotplug: fix memmap_on_memory sysfs value retrieval",
"x_generator": {
- "engine": "bippy-01c364bc8c18"
+ "engine": "bippy-e4e2f17819c1"
}
}
},
diff --git a/cve/published/2024/CVE-2024-20607.json b/cve/published/2024/CVE-2024-20607.json
index 8ac1a908..81e8c9ca 100644
--- a/cve/published/2024/CVE-2024-20607.json
+++ b/cve/published/2024/CVE-2024-20607.json
@@ -38,7 +38,7 @@
],
"title": "pds_core: Prevent health thread from running during reset/remove",
"x_generator": {
- "engine": "bippy-01c364bc8c18"
+ "engine": "bippy-e4e2f17819c1"
}
}
},
diff --git a/scripts/bippy b/scripts/bippy
index e4e2f178..e4d54975 100755
--- a/scripts/bippy
+++ b/scripts/bippy
@@ -40,7 +40,7 @@ set -o nounset
# and the git version of it
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPT=${0##*/}
-SCRIPT_VERSION=$(cd "${DIR}" && git show -s --abbrev-commit --abbrev=12 --pretty=format:"%h")
+SCRIPT_VERSION=$(cd "${DIR}" && git ls-tree --abbrev=12 HEAD | grep "${SCRIPT}" | awk '{print $3}')
# global variables
vuln_kernels=()