Skip to content

Commit 4f8d8de

Browse files
fix(handlers): fix incomplete ordering in YAFFSEntry (reported by CodeQL)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent a76937c commit 4f8d8de

File tree

1 file changed

+2
-0
lines changed
  • python/unblob/handlers/filesystem

1 file changed

+2
-0
lines changed

python/unblob/handlers/filesystem/yaffs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import functools
12
import io
23
import itertools
34
from collections import defaultdict
@@ -187,6 +188,7 @@ class YAFFSConfig:
187188
ecc: bool
188189

189190

191+
@functools.total_ordering
190192
@attrs.define
191193
class YAFFSEntry:
192194
object_type: YaffsObjectType

0 commit comments

Comments
 (0)