Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      Handling JavaScript Event Listeners With Parameters

      July 21, 2025

      ChatGPT now has an agent mode

      July 21, 2025

      Scrum Alliance and Kanban University partner to offer new course that teaches both methodologies

      July 21, 2025

      Is ChatGPT down? You’re not alone. Here’s what OpenAI is saying

      July 21, 2025

      I found a tablet that could replace my iPad and Kindle – and it’s worth every penny

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 21, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 21, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Execute Ping Commands and Get Back Structured Data in PHP

      July 21, 2025
      Recent

      Execute Ping Commands and Get Back Structured Data in PHP

      July 21, 2025

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 21, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 21, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      I Made Kitty Terminal Even More Awesome by Using These 15 Customization Tips and Tweaks

      July 21, 2025
      Recent

      I Made Kitty Terminal Even More Awesome by Using These 15 Customization Tips and Tweaks

      July 21, 2025

      Microsoft confirms active cyberattacks on SharePoint servers

      July 21, 2025

      How to Manually Check & Install Windows 11 Updates (Best Guide)

      July 21, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Linux»grex generates regular expressions from user-provided test cases

    grex generates regular expressions from user-provided test cases

    April 18, 2025

    grex is a library and a command-line utility to simplify the often complicated and tedious task of creating regular expressions.

    The post grex generates regular expressions from user-provided test cases appeared first on LinuxLinks.

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleDistribution Release: Ubuntu Kylin 25.04
    Next Article “Pretty” is in the eye of the beholder

    Related Posts

    Learning Resources

    I Made Kitty Terminal Even More Awesome by Using These 15 Customization Tips and Tweaks

    July 21, 2025
    Operating Systems

    Microsoft confirms active cyberattacks on SharePoint servers

    July 21, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    The sweet taste of a new idea

    Artificial Intelligence

    CVE-2025-4218 – Handrew BrowserPilot GPTSeleniumAgent Code Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Cookie pop-ups don’t have to be a fact of life online – how I block them and why

    News & Updates

    Capcom breaks all-time profit records with 10% income growth after Monster Hunter Wilds sold over 10 million copies in a month

    News & Updates

    Highlights

    CVE-2024-58098 – Linux Kernel BPF Packet Pointer Invalidation Vulnerability

    May 5, 2025

    CVE ID : CVE-2024-58098

    Published : May 5, 2025, 3:15 p.m. | 18 minutes ago

    Description : In the Linux kernel, the following vulnerability has been resolved:

    bpf: track changes_pkt_data property for global functions

    When processing calls to certain helpers, verifier invalidates all
    packet pointers in a current state. For example, consider the
    following program:

    __attribute__((__noinline__))
    long skb_pull_data(struct __sk_buff *sk, __u32 len)
    {
    return bpf_skb_pull_data(sk, len);
    }

    SEC(“tc”)
    int test_invalidate_checks(struct __sk_buff *sk)
    {
    int *p = (void *)(long)sk->data;
    if ((void *)(p + 1) > (void *)(long)sk->data_end) return TCX_DROP;
    skb_pull_data(sk, 0);
    *p = 42;
    return TCX_PASS;
    }

    After a call to bpf_skb_pull_data() the pointer ‘p’ can’t be used
    safely. See function filter.c:bpf_helper_changes_pkt_data() for a list
    of such helpers.

    At the moment verifier invalidates packet pointers when processing
    helper function calls, and does not traverse global sub-programs when
    processing calls to global sub-programs. This means that calls to
    helpers done from global sub-programs do not invalidate pointers in
    the caller state. E.g. the program above is unsafe, but is not
    rejected by verifier.

    This commit fixes the omission by computing field
    bpf_subprog_info->changes_pkt_data for each sub-program before main
    verification pass.
    changes_pkt_data should be set if:
    – subprogram calls helper for which bpf_helper_changes_pkt_data
    returns true;
    – subprogram calls a global function,
    for which bpf_subprog_info->changes_pkt_data should be set.

    The verifier.c:check_cfg() pass is modified to compute this
    information. The commit relies on depth first instruction traversal
    done by check_cfg() and absence of recursive function calls:
    – check_cfg() would eventually visit every call to subprogram S in a
    state when S is fully explored;
    – when S is fully explored:
    – every direct helper call within S is explored
    (and thus changes_pkt_data is set if needed);
    – every call to subprogram S1 called by S was visited with S1 fully
    explored (and thus S inherits changes_pkt_data from S1).

    The downside of such approach is that dead code elimination is not
    taken into account: if a helper call inside global function is dead
    because of current configuration, verifier would conservatively assume
    that the call occurs for the purpose of the changes_pkt_data
    computation.

    Severity: 0.0 | NA

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    Samsung might delete your old account soon – here’s how to stop it from happening

    June 4, 2025

    CVE-2025-7913 – TOTOLINK T6 MQTT Service Buffer Overflow Vulnerability

    July 21, 2025

    Perficient Achieves Premier Partner Status with Snowflake

    June 5, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.