| Title | mrubyc 3.4 NULL Pointer Dereference |
|---|
| Description | When the first argument ptr passed to the src/alloc.c#L796::mrbc_raw_realloc function is NULL, the function fails to handle this edge case correctly. It proceeds to dereference an invalid memory address calculated from the NULL pointer, causing an immediate Segmentation Fault and crashing the application.
More detail: https://github.com/mrubyc/mrubyc/issues/244 |
|---|
| Source | ⚠️ https://github.com/mrubyc/mrubyc/issues/244 |
|---|
| User | micromilo (UID 84159) |
|---|
| Submission | 11/10/2025 15:26 (7 months ago) |
|---|
| Moderation | 11/19/2025 10:05 (9 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 332925 [mrubyc up to 3.4 src/alloc.c mrbc_raw_realloc ptr null pointer dereference] |
|---|
| Points | 19 |
|---|