diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-30 11:07:46 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-30 11:07:46 +0000 |
commit | 53d66b5c633d8535af2ae011a0fcf28e47fc051c (patch) | |
tree | a0a8b770158b7b6ca43e7cff5be5db226fa8d561 /libgfortran | |
parent | d5be9f38b0fb47357fe6d69a7cfdb39a872ecb59 (diff) | |
download | gcc-53d66b5c633d8535af2ae011a0fcf28e47fc051c.tar.gz |
PR libgfortran/52758
* intrinsics/chmod.c: Remove out-of-bound initialization of rwxXstugo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186008 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/intrinsics/chmod.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 7890287c3e5..8f6afc05b54 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2012-03-30 Uros Bizjak <ubizjak@gmail.com> + + PR libgfortran/52758 + * intrinsics/chmod.c: Remove out-of-bound initialization of rwxXstugo. + 2012-03-27 Tristan Gingold <gingold@adacore.com> * configure.ac: Add description to AC_DEFINE in diff --git a/libgfortran/intrinsics/chmod.c b/libgfortran/intrinsics/chmod.c index 01db8beb9e0..91563033f13 100644 --- a/libgfortran/intrinsics/chmod.c +++ b/libgfortran/intrinsics/chmod.c @@ -141,7 +141,6 @@ chmod_func (char *name, char *mode, gfc_charlen_type name_len, rwxXstugo[6] = false; rwxXstugo[7] = false; rwxXstugo[8] = false; - rwxXstugo[9] = false; part = 0; set_mode = -1; for (; i < mode_len; i++) |