openresty / openresty/luajit2

using hongfuzz to fuzz luajit2.1.0-beta3,there are some crashes

Open
#99 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.4k
Forks
252
Avg merge
7d 11h
Merged PRs (30d)
3

Description

(1)lj_str_original_hash()function has READ memory access
(2)lj_alloc_free() function has READ memory access
(3)bcread_block()function has stack-overflow
all seed lua file see attachment.

bcread_block.zip
lj_alloc_free.zip
lj_str_original_hash.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the three attached seed archives and reproducing them with hongfuzz against LuaJIT 2.1.0-beta3. Investigate the reported crashes in lj_str_original_hash(), lj_alloc_free(), and bcread_block(). Done means the three reported memory-access or stack-overflow crashes no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.