Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2012:0385 - Bug Fix Advisory
Issued:
2012-03-13
Updated:
2012-06-20

RHBA-2012:0385 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

gawk bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated gawk package that fixes three bugs is now available for Red Hat
Enterprise Linux 6.

Description

The gawk package contains the GNU version of awk, a text processing utility. AWK
interprets a special-purpose programming language to do quick and easy text
pattern matching and reformatting jobs.

This update fixes the following bugs:

  • Prior to this update, the gawk utility could, under certain circumstances,

interpret some run-time variables as internal zero-length variable prototypes.
When gawk tried to free such run-time variables, it actually freed the internal
prototypes, that were allocated just once due to memory savings. As a
consequence, gawk sometimes failed and the error message "awk: double free or
corruption" was displayed. With this update the problem has been corrected and
the error no longer occurs. (BZ#648906)

  • Prior to this update, the gawk utility did not copy variables from the command

line arguments. As a consequence, the variables were not accessible as intended.
This update modifies the underlying code so that gawk makes copies of those
variables. (BZ#740673)

  • Prior to this update, the Yacc interpreter encountered problems handling

larger stacks. As a consequence, the Yacc interpreter could fail with a stack
overflow error when interpreting the AWK code. This update enlarges the stack
and Yacc can now handle these AWK programs. (BZ#743242)

All users of gawk are advised to upgrade to this updated package, which fixes
these bugs.

Solution

Before applying this update, make sure all previously-released errata relevant
to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 6 x86_64
  • Red Hat Enterprise Linux Server 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
  • Red Hat Enterprise Linux Workstation 6 x86_64
  • Red Hat Enterprise Linux Workstation 6 i386
  • Red Hat Enterprise Linux Desktop 6 x86_64
  • Red Hat Enterprise Linux Desktop 6 i386
  • Red Hat Enterprise Linux for IBM z Systems 6 s390x
  • Red Hat Enterprise Linux for Power, big endian 6 ppc64
  • Red Hat Enterprise Linux for Scientific Computing 6 x86_64
  • Red Hat Enterprise Linux Server from RHUI 6 x86_64
  • Red Hat Enterprise Linux Server from RHUI 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x

Fixes

  • BZ - 648906 - gawk regression from RHEL3/4
  • BZ - 743242 - gawk + byacc = YACC Stack Overflow regression

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
x86_64
gawk-3.1.7-9.el6.x86_64.rpm SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-3.1.7-9.el6.x86_64.rpm SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
i386
gawk-3.1.7-9.el6.i686.rpm SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc

Red Hat Enterprise Linux Server - Extended Life Cycle Support 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
x86_64
gawk-3.1.7-9.el6.x86_64.rpm SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
i386
gawk-3.1.7-9.el6.i686.rpm SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc

Red Hat Enterprise Linux Workstation 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
x86_64
gawk-3.1.7-9.el6.x86_64.rpm SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
i386
gawk-3.1.7-9.el6.i686.rpm SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc

Red Hat Enterprise Linux Desktop 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
x86_64
gawk-3.1.7-9.el6.x86_64.rpm SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
i386
gawk-3.1.7-9.el6.i686.rpm SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc

Red Hat Enterprise Linux for IBM z Systems 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
s390x
gawk-3.1.7-9.el6.s390x.rpm SHA-256: cac425b701cd127a578b7c1dd26e87fd15cff409cd040d3f446cd7b97073e186
gawk-debuginfo-3.1.7-9.el6.s390x.rpm SHA-256: 0a22cb799b189d153a1f174689719a8cbd05c0db510f7b82f3b050f50c9a5c8d

Red Hat Enterprise Linux for Power, big endian 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
ppc64
gawk-3.1.7-9.el6.ppc64.rpm SHA-256: 11a137cbdf88d943c468c5e714d0af665b4f1d772dab9cc69eab25e0dbfcbc56
gawk-debuginfo-3.1.7-9.el6.ppc64.rpm SHA-256: e3157c54369a3cb574ea57373753443e0ccb2464d2651d26a7ba11c42560d676

Red Hat Enterprise Linux for Scientific Computing 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
x86_64
gawk-3.1.7-9.el6.x86_64.rpm SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b

Red Hat Enterprise Linux Server from RHUI 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
x86_64
gawk-3.1.7-9.el6.x86_64.rpm SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
i386
gawk-3.1.7-9.el6.i686.rpm SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc

Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
s390x
gawk-3.1.7-9.el6.s390x.rpm SHA-256: cac425b701cd127a578b7c1dd26e87fd15cff409cd040d3f446cd7b97073e186
gawk-debuginfo-3.1.7-9.el6.s390x.rpm SHA-256: 0a22cb799b189d153a1f174689719a8cbd05c0db510f7b82f3b050f50c9a5c8d

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
x86_64
gawk-3.1.7-9.el6.x86_64.rpm SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
i386
gawk-3.1.7-9.el6.i686.rpm SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6

SRPM
gawk-3.1.7-9.el6.src.rpm SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
s390x
gawk-3.1.7-9.el6.s390x.rpm SHA-256: cac425b701cd127a578b7c1dd26e87fd15cff409cd040d3f446cd7b97073e186
gawk-debuginfo-3.1.7-9.el6.s390x.rpm SHA-256: 0a22cb799b189d153a1f174689719a8cbd05c0db510f7b82f3b050f50c9a5c8d

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility