• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/bash/bash-4.2-019.patch
Gustavo ZacariasGustavo Zacarias committed 5bedeb2fb3624 Jan 2012
Raw file
Source viewDiff to previous
 
1
                 BASH PATCH REPORT
2
                 =================
3
​
4
Bash-Release:   4.2
5
Patch-ID:   bash42-019
6
​
7
Bug-Reported-by:    Diego Augusto Molina <diegoaugustomolina@gmail.com>
8
Bug-Reference-ID:   <CAGOxLdHcSQu3ck9Qy3pRjj_NBU5tAPSAvNm-95-nLQ9Szwb6aA@mail.gmail.com>
9
Bug-Reference-URL:  lists.gnu.org/archive/html/bug-bash/2011-09/msg00047.html
10
​
11
Bug-Description:
12
​
13
Using `declare' with attributes and an invalid array variable name or
14
assignment reference resulted in a segmentation fault instead of a
15
declaration error.
16
​
17
Patch (apply with `patch -p0'):
18
​
19
*** ../bash-4.2-patched/builtins/declare.def    2010-05-30 18:25:21.000000000 -0400
20
--- ./builtins/declare.def  2011-09-15 15:20:20.000000000 -0400
21
***************
22
*** 514,517 ****
23
--- 514,522 ----
24
          var = assign_array_element (name, value, 0);  /* XXX - not aflags */
25
          *subscript_start = '\0';
26
+         if (var == 0) /* some kind of assignment error */
27
+       {
28
+         assign_error++;
29
+         NEXT_VARIABLE ();
30
+       }
31
        }
32
      else if (simple_array_assign)
33
*** ../bash-4.2-patched/patchlevel.h    Sat Jun 12 20:14:48 2010
34
--- ./patchlevel.h  Thu Feb 24 21:41:34 2011
35
***************
36
*** 26,30 ****
37
     looks for to find the patch level (for the sccs version string). */
38
  
39
! #define PATCHLEVEL 18
40
  
41
  #endif /* _PATCHLEVEL_H_ */
42
--- 26,30 ----
43
     looks for to find the patch level (for the sccs version string). */
44
  
45
! #define PATCHLEVEL 19
46
  
47
  #endif /* _PATCHLEVEL_H_ */
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.