Ofline
oscam-git11926-802
fix: security crash guard
- Harden DVBAPI filter handling: require a valid curpid before touching ECM fields and abort section-filter setup when the demux PID lookup fails, preventing null-pointer crashes.
- WebIF robustness sweep: gate every popen/fopen/access use and preserve pointer assignments so the UI now reports missing scripts/files instead of dereferencing null handles.
- Reader safety: add missing allocation checks in Conax/DRE code paths and keep Nagra readers’ csystem_data alive after failed init to avoid double-free crashes.
- Crash/diagnostics fixes: protect cs_dumpstack()/detect_valgrind() against failed file opens and clamp the CoolAPI status lookup to stay inside the cnxt_status[] table.
thx to @lpm11
cleanup deadcode clocktypes
* Remove librt dependency
clock_gettime no longer used after cleanup deadcode clocktypes patch.
CLOCKFIX now only uses gettimeofday() which doesn't require librt.
* cleanup deadcode clocktypes
thx to @lpm11
Remove dead code, simplify functions, drop libm dependency
- eliminate dead code: ifd_azbox.c while(ret), ifd_sci.c sh4_stb,
reader-dre-st20.c verbose, module-cccam.c is_dcw_corrupted
- remove constant parameters: chk_is_null_nodeid len (always 8),
CAK7do_cmd len (always 0x10)
- simplify: NULLFREE macro (free(NULL) is safe), cs_strlen,
tolower/toupper without isupper/islower check, ifd_stinger.c
mhz assignment, ifd_sci.c tries++ refactoring
- use MIN/MAX macros in module-cccam.c rating clamping
- refactor reader-conax.c CWPK_CNX with memcpy
- replace fmod with pure C in reader-nagracak7.c, drop libm dependency
- Makefile/CMakeLists.txt: remove libm, keep $(LIB_PTHREAD),
$(LIB_DL), $(LIB_RT) variables for toolchain flexibility
thx to @lpm11
fix: security crash guard
- Harden DVBAPI filter handling: require a valid curpid before touching ECM fields and abort section-filter setup when the demux PID lookup fails, preventing null-pointer crashes.
- WebIF robustness sweep: gate every popen/fopen/access use and preserve pointer assignments so the UI now reports missing scripts/files instead of dereferencing null handles.
- Reader safety: add missing allocation checks in Conax/DRE code paths and keep Nagra readers’ csystem_data alive after failed init to avoid double-free crashes.
- Crash/diagnostics fixes: protect cs_dumpstack()/detect_valgrind() against failed file opens and clamp the CoolAPI status lookup to stay inside the cnxt_status[] table.
thx to @lpm11
cleanup deadcode clocktypes
* Remove librt dependency
clock_gettime no longer used after cleanup deadcode clocktypes patch.
CLOCKFIX now only uses gettimeofday() which doesn't require librt.
* cleanup deadcode clocktypes
thx to @lpm11
Remove dead code, simplify functions, drop libm dependency
- eliminate dead code: ifd_azbox.c while(ret), ifd_sci.c sh4_stb,
reader-dre-st20.c verbose, module-cccam.c is_dcw_corrupted
- remove constant parameters: chk_is_null_nodeid len (always 8),
CAK7do_cmd len (always 0x10)
- simplify: NULLFREE macro (free(NULL) is safe), cs_strlen,
tolower/toupper without isupper/islower check, ifd_stinger.c
mhz assignment, ifd_sci.c tries++ refactoring
- use MIN/MAX macros in module-cccam.c rating clamping
- refactor reader-conax.c CWPK_CNX with memcpy
- replace fmod with pure C in reader-nagracak7.c, drop libm dependency
- Makefile/CMakeLists.txt: remove libm, keep $(LIB_PTHREAD),
$(LIB_DL), $(LIB_RT) variables for toolchain flexibility
thx to @lpm11
Ekli dosyalar
-
oscam-git11926-802@c63a56cf-dream_aarch64-webif-dvbapi-ssl-libusb-libdvbcsa-emu-icam-mixed-upx...zip882.2 KB · Görüntüleme: 1
-
oscam-git11926-802@c63a56cf-dream_arm-webif-dvbapi-ssl-libusb-libdvbcsa-emu-icam-mixed-upx-sig...zip833.7 KB · Görüntüleme: 1
-
oscam-git11926-802@c63a56cf-Linux-x86_64-webif-dvbapi-ssl-libusb-libdvbcsa-emu-icam-mixed-signed.zip866.9 KB · Görüntüleme: 2
-
oscam-git11926-802@c63a56cf-mips32el_generic-webif-dvbapi-ssl-libusb-libdvbcsa-emu-icam-mixed-...zip924.3 KB · Görüntüleme: 1
-
oscam-git11926-802@c63a56cf-openpli40-webif-dvbapi-ssl-libusb-libdvbcsa-emu-icam-mixed-upx-sig...zip889.9 KB · Görüntüleme: 1
-
oscam-git11926-802@c63a56cf-vusolo4k-webif-dvbapi-ssl-libusb-libdvbcsa-emu-icam-mixed-upx-signed.zip833.7 KB · Görüntüleme: 2
-
oscam-git11926-802@c63a56cf-vuplus4k_arm-webif-dvbapi-ssl-libusb-libdvbcsa-emu-icam-mixed-upx-...zip833.7 KB · Görüntüleme: 1
-
oscam-git11926-802@c63a56cf-vuduo4k-webif-dvbapi-ssl-libusb-libdvbcsa-emu-icam-neon-mixed-upx-...zip834.9 KB · Görüntüleme: 1