Skip to navigation

Bug Fix Advisory gawk bug fix update

Advisory: RHBA-2012:0385-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2012-03-13
Last updated on: 2012-06-20
Affected Products: Red Hat Enterprise Linux Desktop (v. 6)
Red Hat Enterprise Linux HPC Node (v. 6)
Red Hat Enterprise Linux Server (v. 6)
Red Hat Enterprise Linux Workstation (v. 6)

Details

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

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

Updated packages

Red Hat Enterprise Linux Desktop (v. 6)

SRPMS:
gawk-3.1.7-9.el6.src.rpm
File outdated by:  RHBA-2012:1146
    MD5: 218c2f0ae6c709614e1a820df7af1cef
SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
 
IA-32:
gawk-3.1.7-9.el6.i686.rpm
File outdated by:  RHBA-2012:1146
    MD5: 5929b37116fb3f51ab75a9e4feaa84ec
SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm
File outdated by:  RHBA-2012:1146
    MD5: 5ad5c72ec5337bf0698c446dae870d2c
SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc
 
x86_64:
gawk-3.1.7-9.el6.x86_64.rpm
File outdated by:  RHBA-2012:1146
    MD5: bfa455988607d946a919de1870cfc9b1
SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm
File outdated by:  RHBA-2012:1146
    MD5: 62352a2cab71cb4fc728d8c2e14adb2f
SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
 
Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
gawk-3.1.7-9.el6.src.rpm
File outdated by:  RHBA-2012:1146
    MD5: 218c2f0ae6c709614e1a820df7af1cef
SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
 
x86_64:
gawk-3.1.7-9.el6.x86_64.rpm
File outdated by:  RHBA-2012:1146
    MD5: bfa455988607d946a919de1870cfc9b1
SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm
File outdated by:  RHBA-2012:1146
    MD5: 62352a2cab71cb4fc728d8c2e14adb2f
SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
gawk-3.1.7-9.el6.src.rpm
File outdated by:  RHBA-2012:1146
    MD5: 218c2f0ae6c709614e1a820df7af1cef
SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
 
IA-32:
gawk-3.1.7-9.el6.i686.rpm
File outdated by:  RHBA-2012:1146
    MD5: 5929b37116fb3f51ab75a9e4feaa84ec
SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm
File outdated by:  RHBA-2012:1146
    MD5: 5ad5c72ec5337bf0698c446dae870d2c
SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc
 
PPC:
gawk-3.1.7-9.el6.ppc64.rpm
File outdated by:  RHBA-2012:1146
    MD5: 08c855d6e53ebb9bd0598992fb6c77a8
SHA-256: 11a137cbdf88d943c468c5e714d0af665b4f1d772dab9cc69eab25e0dbfcbc56
gawk-debuginfo-3.1.7-9.el6.ppc64.rpm
File outdated by:  RHBA-2012:1146
    MD5: 49f85c8328640131e1422aca5a3d5b0b
SHA-256: e3157c54369a3cb574ea57373753443e0ccb2464d2651d26a7ba11c42560d676
 
s390x:
gawk-3.1.7-9.el6.s390x.rpm
File outdated by:  RHBA-2012:1146
    MD5: 369325742705a86efae47848fa73c6b5
SHA-256: cac425b701cd127a578b7c1dd26e87fd15cff409cd040d3f446cd7b97073e186
gawk-debuginfo-3.1.7-9.el6.s390x.rpm
File outdated by:  RHBA-2012:1146
    MD5: 64f603dadcb83763f8c94c91f92f206f
SHA-256: 0a22cb799b189d153a1f174689719a8cbd05c0db510f7b82f3b050f50c9a5c8d
 
x86_64:
gawk-3.1.7-9.el6.x86_64.rpm
File outdated by:  RHBA-2012:1146
    MD5: bfa455988607d946a919de1870cfc9b1
SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm
File outdated by:  RHBA-2012:1146
    MD5: 62352a2cab71cb4fc728d8c2e14adb2f
SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
gawk-3.1.7-9.el6.src.rpm
File outdated by:  RHBA-2012:1146
    MD5: 218c2f0ae6c709614e1a820df7af1cef
SHA-256: 8ba049e7c2e13fbb2a99b284832b3528b68590aa703b43bab6c0054bc9dacb3b
 
IA-32:
gawk-3.1.7-9.el6.i686.rpm
File outdated by:  RHBA-2012:1146
    MD5: 5929b37116fb3f51ab75a9e4feaa84ec
SHA-256: dafa2469b28ee8724730181502d768a9bc8db36779ed1126ff2ea3829099c3b0
gawk-debuginfo-3.1.7-9.el6.i686.rpm
File outdated by:  RHBA-2012:1146
    MD5: 5ad5c72ec5337bf0698c446dae870d2c
SHA-256: 5a98da27560c40a0c14d9698376ed1a18556774eee7d0716ec1622ae428bc8bc
 
x86_64:
gawk-3.1.7-9.el6.x86_64.rpm
File outdated by:  RHBA-2012:1146
    MD5: bfa455988607d946a919de1870cfc9b1
SHA-256: e8c7c329780adb57caba44772e5e2ccbf7509631e2ca364385d53226283137ef
gawk-debuginfo-3.1.7-9.el6.x86_64.rpm
File outdated by:  RHBA-2012:1146
    MD5: 62352a2cab71cb4fc728d8c2e14adb2f
SHA-256: 0d8b9ca0a60aabf3391d3a74bfddb2208337bf1e83fbb2e55deb8f863b042d9b
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

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



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

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