Actions
Bug #11235
closed[BUG] Segmentation fault
Bug #11235:
[BUG] Segmentation fault
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p598 (2014-11-13) [x64-mingw32]
Description
Files
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- File bug-11235.log bug-11235.log added
- Description updated (diff)
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Status changed from Open to Closed
Applied in changeset r50827.
array.c: fix array size overflow
- array.c (ary_ensure_room_for_push): check if array size will
exceed maxmum size to get rid of buffer overflow.
[ruby-dev:49043] [Bug #11235] - array.c (ary_ensure_room_for_unshift, rb_ary_splice): ditto.
Updated by nagachika (Tomoyuki Chikanaga) about 11 years ago
- Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE
Backported into ruby_2_2 branch at r51473.
Updated by usa (Usaku NAKAMURA) about 11 years ago
- Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE to 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONE
ruby_2_1 r51597 merged revision(s) 50827,50921.
Updated by hsbt (Hiroshi SHIBATA) about 4 hours ago
- Related to Feature #22400: Use rb_long_t for lengths so that String and Array can exceed 2GiB on mswin added
Actions