Skip to content

fix(display): use active CRTC mode refresh rate on sysfs DRM path#2396

Closed
1hpEcVns wants to merge 19 commits into
fastfetch-cli:masterfrom
1hpEcVns:fix/drm-crtc-refresh-rate
Closed

fix(display): use active CRTC mode refresh rate on sysfs DRM path#2396
1hpEcVns wants to merge 19 commits into
fastfetch-cli:masterfrom
1hpEcVns:fix/drm-crtc-refresh-rate

fix(display): query active CRTC mode for refresh rate on sysfs path

ea05596
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jun 10, 2026 in 0s

6 new issues (0 max.) of at least severity.

Annotations

Check failure on line 1289 in src/detection/cpu/cpu_x86.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/detection/cpu/cpu_x86.c#L1289

Does not check for buffer overflows when copying to destination (CWE-120).  Make sure destination can always hold the source data. 

Check failure on line 1289 in src/detection/cpu/cpu_x86.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/detection/cpu/cpu_x86.c#L1289

The `memcpy` family of functions require the developer to validate that the destination buffer is the same size or larger than the source buffer.

Check failure on line 1290 in src/detection/cpu/cpu_x86.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/detection/cpu/cpu_x86.c#L1290

Does not check for buffer overflows when copying to destination (CWE-120).  Make sure destination can always hold the source data. 

Check failure on line 1290 in src/detection/cpu/cpu_x86.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/detection/cpu/cpu_x86.c#L1290

The `memcpy` family of functions require the developer to validate that the destination buffer is the same size or larger than the source buffer.

Check failure on line 1291 in src/detection/cpu/cpu_x86.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/detection/cpu/cpu_x86.c#L1291

Does not check for buffer overflows when copying to destination (CWE-120).  Make sure destination can always hold the source data. 

Check failure on line 1291 in src/detection/cpu/cpu_x86.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/detection/cpu/cpu_x86.c#L1291

The `memcpy` family of functions require the developer to validate that the destination buffer is the same size or larger than the source buffer.