focal-security: thread 'main' panicked at 'attempted to zero-initialize type `libgit2_sys::git_diff_options`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rust-bat (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
David Fernandez Gonzalez |
Bug Description
The 0.12.1-1ubuntu0.1 security upload caused a regression in Focal: the tool is not unusable from within git repositories. Reproducer:
1. `lxc launch ubuntu:focal paride-f` and jump in container
2. apt install bat
3. mkdir x; cd x; git init; touch a
4. batcat a
Relevant output
$ batcat a
thread 'main' panicked at 'attempted to zero-initialize type `libgit2_
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
This entry from d/changelog is likely the culprit:
* debian/
and syntect version requirement.
Ubuntu >= Jammy releases are not affected.
Changed in rust-bat (Ubuntu Focal): | |
assignee: | nobody → David Fernandez Gonzalez (litios) |
There is an upstream bug on this issue:
https:/ /github. com/sharkdp/ bat/issues/ 2317
but I'm not adding making Launchpad track it as this is actually specific to Ubuntu.