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

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

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

      July 21, 2025

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

      July 22, 2025

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

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 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

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

      July 22, 2025
      Recent

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

      July 22, 2025

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

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

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

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»News & Updates»CodeSOD: A Highly Paid Field

    CodeSOD: A Highly Paid Field

    June 30, 2025

    In ancient times, Rob‘s employer didn’t have its own computer; it rented time on a mid-range computer and ran all its jobs using batch processing in COBOL. And in those ancient times, these stone tools were just fine.

    But computing got more and more important, and the costs for renting time kept going up and up, so they eventually bought their own AS/400. And that meant someone needed to migrate all of their COBOL to RPG. And management knew what you do for those kinds of conversions: higher a Highly Paid Consultant.

    On one hand, the results weren’t great. On the other, the code is still in use, though has been through many updates and modernizations and migrations in that time. Still, the HPC’s effects can be felt, like this block, which hasn’t been touched since she was last here:

    // CHECK FOR VALID FIELD
    IF FIELD1 <> *BLANKS AND FIELD1 < '1' AND FIELD1 > '5';
        BadField1 = *ON;
        LEAVESR;
    ENDIF;     
    

    This is a validation check on a field (anonymized by Rob), but the key thing I want you to note is that what the field stores are numbers, but it stores those numbers as text– note the quotes. And the greater-than/less-than operators will do lexical comparisons on text, which means '21' < '5' is true.

    The goal of this comparison was to require the values to be between 1 and 5. But that’s not what it’s enforcing. The only good(?) news is that this field also isn’t used. There’s one screen where users can set the value, but no one has– it’s currently blank everywhere- and nothing else in the system references the value. Which raises the question of why it’s there at all.

    But those kinds of questions are par for the course for the HPC. When they migrated a bunch of reports and the users compared the results with the original versions, the results didn’t balance. The HPC’s explanation? “The users are changing the data to make me look bad.”

    [Advertisement]
    BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous Articleminicom – serial communication program
    Next Article CVE-2025-6887 – Tenda AC5 Stack-Based Buffer Overflow Vulnerability

    Related Posts

    News & Updates

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

    July 22, 2025
    News & Updates

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

    July 22, 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

    Microsoft admits issues in Windows 11 June 2025 Update with Print to PDF

    Operating Systems

    Hackers Attacking Network Edge Devices to Compromise SMB Organizations

    Security

    CVE-2025-23100 – Samsung Exynos NULL Check Denial of Service Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Distribution Release: ALT Linux 11.0

    News & Updates

    Highlights

    CVE-2024-36347 – AMD CPU ROM Microcode Signature Verification Bypass (Validation Bypass)

    June 27, 2025

    CVE ID : CVE-2024-36347

    Published : June 27, 2025, 11:15 p.m. | 3 hours, 59 minutes ago

    Description : Improper signature verification in AMD CPU ROM microcode patch loader may allow an attacker with local administrator privilege to load malicious microcode, potentially resulting in loss of integrity of x86 instruction execution, loss of confidentiality and integrity of data in x86 CPU privileged context and compromise of SMM execution environment.

    Severity: 6.4 | MEDIUM

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

    Duolingo just added 148 new courses in its biggest update ever – thanks to AI

    April 30, 2025

    CVE-2025-1093 – WordPress AIHub Theme Remote Code Execution File Upload Vulnerability

    April 22, 2025

    Zelenskyy Signs Law Advancing Cybersecurity of Ukraine’s State Networks and Critical Infrastructure

    April 21, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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