commit | b5525c2a7d50d408311e66d9fa2dcaa2fb0eb45f | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Mon Oct 09 20:07:01 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Oct 09 20:07:01 2023 +0000 |
tree | ac0518946e103ed2ba43c5e64f7108798a3121fe | |
parent | 8296996134518a6f96c7e481fa236d3b621bb78f [diff] | |
parent | 29d6b4dbf5d4d72c863485658ed11724c8229b17 [diff] |
ANDROID: De-dup fdt_path_offset_namelen check am: 8246453859 am: d230a22138 am: deae0e691d am: 82117c0a8d am: 29d6b4dbf5 Original change: https://android-review.googlesource.com/c/platform/external/dtc/+/2775197 Change-Id: I4d739adf61fb6988f457eaf6cdf948a1efa3cc6a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libfdt/fdt_ro.c b/libfdt/fdt_ro.c index a62ec78..362cc4a 100644 --- a/libfdt/fdt_ro.c +++ b/libfdt/fdt_ro.c
@@ -266,9 +266,6 @@ if (namelen < 1) return -FDT_ERR_BADPATH; - if (namelen < 1) - return -FDT_ERR_BADPATH; - /* see if we have an alias */ if (*path != '/') { const char *q = memchr(path, '/', end - p);