mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-13 11:33:16 +03:00
Add Coverity annotations to suppress false positive warnings in several files where the static analysis tool incorrectly flags potential issues that are actually safe due to proper validation or intentional behavior. The annotations address the following false positives: - daemons/dmeventd/dmeventd.c: overflow_sink warnings for 'current' variable that is validated to be positive before use in buffer operations - daemons/lvmlockd/lvmlockd-core.c: overflow_sink warning for 'ret' variable that is validated to be positive before use - lib/config/config.c: overflow_sink warning for 'sz' variable that is validated to be positive before use in read operations - libdm/dm-tools/dmsetup.c: overflow_sink, overflow, and deref_overflow warnings for 'n' variable that is validated to be positive before use in buffer operations and string termination - libdm/libdm-stats.c: overflow_sink warning for 'i & j' variables that are validated to be positive before use in array indexing