Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Propagate errors from generate_hash_secret_salt up to XML_Parse/XML_ParseBuffer?

Open
#36 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
backend

Research direction

Start by reading the call tree in the issue: XML_Parse/XML_ParseBuffer, startParsing, and generate_hash_secret_salt. Consider how entropy-source failures could propagate through these entry points and whether a new error code is needed; the issue leaves the design tradeoffs open. Done would mean selecting and implementing an error-propagation approach, with parsing returning an error when entropy generation fails.

Written by the indexing model from the issue text.

Description

enhancement

At the moment, generate_hash_secret_salt uses fallback code when high quality sources of entropy fail to serve entropy. For the future we could propagate errors upwards so that XML_Parse/XML_ParseBuffer fails with an error, instead. We may need a new error code and consider pros and cons of that approach.

The call tree is:

  1. XML_Parse/XML_ParseBuffer
  2. startParsing
  3. generate_hash_secret_salt
Dominant language
C
Stars
1.4k
Forks
555
Avg merge
1d 1h
Merged PRs (30d)
37

Getting set up

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.

More from libexpat/libexpat

All issues in libexpat/libexpat

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.