General

Profile

bendrissou (Bachir Bendrissou)

  • Login: bendrissou
  • Registered on: 11/11/2024
  • Last sign in: 01/06/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 5 5

Activity

06/30/2025

11:34 AM Ruby Bug #21461 (Closed): Heap-buffer-overflow in Prism when encoding magic comment is invalid and assignment is incomplete
### Description
An AddressSanitizer (ASan) heap-buffer-overflow occurs in Ruby when:
1. The file contains an invalid magic encoding comment, and
2. A line with incomplete assignment (e.g. missing right-hand side).
This leads...
bendrissou (Bachir Bendrissou)
10:27 AM Ruby Bug #21460 (Closed): Pattern matching crash: unexpected PM_CALL_NODE
Hi,
Pattern matching crashes when using an arithmetic expression like `-1**2` in a hash pattern. Ruby attempts to process the expression as a PM_CALL_NODE, which results in a compiler crash rather than a syntax or match error.
### ...
bendrissou (Bachir Bendrissou)

06/11/2025

08:35 PM Ruby Bug #21439 (Closed): Crash with PM_SPLAT_NODE compiler error (Prism)
Hi Ruby team,
I'm encountering a crash when using a splat (*) on the left-hand side of a for loop in the latest Ruby build from master. The error occurs during compilation, and seems related to Prism’s handling of PM_SPLAT_NODE.
##...
bendrissou (Bachir Bendrissou)

11/22/2024

02:15 PM Ruby Bug #20906 (Closed): Segmentation Fault in compile_keyword_arg
Hi,
I am getting a segmentation fault. The crash occurs in `compile_keyword_arg` (../compile.c:4604) during argument compilation for the keyword argument assignment.
Minimised test case:
```
a,b[c:nil]=d
```
Output:
```
te...
bendrissou (Bachir Bendrissou)

11/21/2024

01:14 PM Ruby Bug #20903 (Closed): Segmentation fault when string encoding
I am getting a segmentation fault. The error appears to relate to the string encoding function: `rb_enc_str_coderange`.
Test case:
```
require 'test/unit'
require "-test-/econv"
class Test_EConvAppend < Test::Unit::T...
bendrissou (Bachir Bendrissou)

Also available in: Atom