Oscam-Emu patches (For people building their own Oscam)

There are 100 replies in this Thread which was already clicked 39,917 times. The last Post () by ahmed gazye.

  • Patch version 2.26.01-11926-802 (c63a56cf)

    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

  • Patch version 2.26.01-11927-802 (848f5460)

    cleanup nagra-merlin code


    - Flatten the IRDINFO parser to compute expire_date once and set card_valid_to where applicable, eliminating redundant cs_add_entitlement()/addProvider() calls.

    - Reuse a single IDEA_KEY_SCHEDULE and drop redundant zeroing of MDC2 buffers since the crypto routines already overwrite them.

    - Replace the generic xxxor() helper with a dedicated xor8() to reflect the only actual usage and tighten the CAK7 key builders.


    thx to @lpm11

  • Patch version 2.26.01-11928-802 (28f2598b)

  • patch version: 2.26.01-11929-802 (12af82a1)

    patch date: 2026-01-14 00:21:21 UTC (+00:00)


  • patch version: 2.26.01-11931-802 (2c8c34c9)

    patch date: 2026-01-14 21:22:38 UTC (+00:00)


  • patch version: 2.26.01-11932-802 (5b7ec3c9)

    patch date: 2026-01-15 12:40:53 UTC (+00:00)


  • patch version: oscam-emu-patch 2.26.01-11933-802-(bf023d8c)


    Features

    * Offline Help: All parameter descriptions are available directly in the binary

    * Clickable Parameters: A click on the parameter name opens the help popup

    * Draggable Popup: The popup can be freely moved (also via touch on mobile devices)

    * Resizable: Size can be adjusted

    * Position Remembered: The horizontal position and size are stored in the browser

    * Reset Button: Reset to default position and size

    * Wiki Link: The title in the popup is a link to the online wiki for more details

    * Directly from OSCam Wiki: Parameters dynamically extracted from wiki pages during the build process

    * Automatic Updates: Any changes to the wiki pages are automatically integrated into the binary on the next build

    * LZO Compression: Wiki data is compressed like WebIF pages (~64% smaller), controlled via WITH_COMPRESS_WEBIF or USE_COMPRESS

    * Smart Filtering: Only help texts for actually compiled modules are included in the binary (based on is_defined.txt)


    Advantages

    * Available Offline - no internet connection needed - perfect for isolated networks

    * Fast - instant display without network latency

    * Always Up-to-date - wiki content matches exactly the binary version

    * User-friendly - help right where you need it

    * Touch Support - also works on tablets and smartphones

    * No Tracking - the wiki web server sees no requests from your device


    Disadvantages

    * Larger Binary - approx. 76 KB with LZO compression, or ~45 KB with UPX binary compression

    * More RAM - wiki data is kept in memory

    * Build Dependency - wiki markdown files must be present during build


    The build process:

    - New build option WEBIF_WIKI (default=off)

    - Git submodule is automatically initialized and updated

    - wiki_gen.c parses all markdown files in the wiki/ folder

    - Generates pages_wiki.c and pages_wiki.h with all parameter descriptions

    - Compiles everything into the final binary


    Technical details

    - Position Storage: Browser localStorage (wikiPopupLeft, wikiPopupWidth, wikiPopupHeight)

    - API Endpoint: /wiki.json?config=conf&WCF_AMPERSAND¶m=serverip

    - Generation: wiki_gen.c parses the markdown files and generates pages_wiki.c

    - Compression: Controlled via WITH_COMPRESS_WEBIF (same as WebIF pages). Automatically disabled when using USE_COMPRESS=1 (UPX binary compression) - UPX compresses the entire binary more efficiently, making internal LZO compression redundant.

    • Official Post

    I think that the patch generator posts should be moved to their own thread. What do you think?

    hi

    yes i hope any mod can do it

    What think about the tool?

    speedy005

    ok..Done


  • patch version: oscam-emu-patch 2.26.01-11934-802-(f9a8ee92)



    - Add --submodule <name> option to config.sh for unified submodule handling

    - Automatically detects git repo vs tarball: uses 'git submodule update' in

    git repos, falls back to 'git clone --depth 1' for source downloads

    - Reads submodule URL from .gitmodules

    - Use --remote flag only when branch is defined in .gitmodules (respect pinning)

    - Simplify Makefile and CMakeLists.txt submodule handling to single call

    - Make submodule init conditional on WEBIF_WIKI

    - Remove duplicate GEN output from wiki_gen.c

  • patch version: 2.26.01-11935-802 (573dab3e)

    patch date: 2026-01-18 11:15:58 UTC (+00:00)


    Code
    webif: add BOTTOM navigation link
    
    - css.css: add BOTTOM navigation link and adjust TOP link position
      - Both links positioned on the right side (right:10px)
      - TOP link: bottom-right in footer
      - BOTTOM link: top-right in menu area
      - Arrow symbols after text for both links
    
    - menu.html: add BOTTOM link element with class "bottom_link"
      - Link anchors to #statusfooter for navigation to page footer
  • patch version: 2.26.01-11940-802 (c0b080cd)

    patch date: 2026-01-26 01:44:20 UTC (+00:00)

    reader: add maxparallel feature to limit simultaneous services per reader

  • patch version: 2.26.01-11942-802 (c43582ae)

    patch date: 2026-01-30 23:56:00 UTC (+00:00)


    Code
    webif: fix entitlements display for cccam
    
    Separate card sorting functions from cccshare module to allow
    cccam clients to view received entitlements in webif even when
    MODULE_CCCSHARE is disabled.
    
    This fixes a design issue where MODULE_CCCSHARE controlled both
    share functionality (server-side) and entitlements display (client-side),
    preventing pure cccam clients from seeing their entitlements.
  • patch version: 2.26.05-11960-802 (d9e40e77)

    patch date: 2026-05-17 19:04:53 UTC (+00:00)

    webif: drop unused loop counter in pages_gen.c

    Code
    GCC >= 9 -Wunused-but-set-variable flags the 'i' counter in the
    strtok_r dependency loop — only incremented, never read. The two
    strtok_r() calls already drive the iteration via the ptr return,
    so the counter is dead weight.

Your resource for OSCam-EMU softcam

Find configs, downloads, tutorials, and support for emulation setup, IPTV decoding, and extended protocol support. Master emulation and extended decoding with OSCam-EMU. Access dedicated support, configs, tutorials, and downloads for enhanced IPTV and service access.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!