h2o / h2o/picohttpparser

Can we use ranges2[16]="\000\040\177"?

Open
#58 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.1k
Forks
274
PR merge metrics
No merged PRs in 30d

Description

https://github.com/h2o/picohttpparser/blob/81fe3d99fd90a55cafb993e53fd3000dbc4d564c/picohttpparser.c#L74
Maybe I understand it wrong, but I think that according to the definition of _SIDD_CMP_RANGES, ranges2[3] (excessive \177) has no meaning.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read picohttpparser.c at line 74 and check the _SIDD_CMP_RANGES definition against the ranges2 initializer. Determine whether ranges2[3] is meaningful or excessive, then confirm the parser behavior before proposing any correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.