aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorBrian Cosgrove <cosgroveb@gmail.com>2025-06-11 13:12:20 -0500
committerGitHub <noreply@github.com>2025-06-11 19:12:20 +0100
commit306f5e1104dbf707cf00ea1f0dbd9c390752f7ac (patch)
tree3f570c8021947c4af2814bf2cc59cede401606e9 /systemd
parentfix: `atuin.nu` enchancements (#2778) (diff)
downloadatuin-306f5e1104dbf707cf00ea1f0dbd9c390752f7ac.zip
fix(search): prevent panic on malformed format strings (#2776) (#2777)
* fix(search): prevent panic on malformed format strings (#2776) - Wrap format operations in panic catcher for graceful error handling - Improve error messages with context-aware guidance for common issues - Let runtime-format parser handle validation to avoid blocking valid formats Fixes crash when using malformed format strings by catching formatting errors gracefully and providing actionable guidance without restricting legitimate format patterns like {command} or {time}. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Satisfy cargo fmt * test(search): add regression tests for format string panic (#2776) - Add test for malformed JSON format strings that previously caused panics - Add test to ensure valid format strings continue to work - Prevent future regressions of the format string panic issue 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
Diffstat (limited to 'systemd')
0 files changed, 0 insertions, 0 deletions