[Pkg-electronics-devel] Bug#1153568: patch as an attachment (indentation tabs)
Vampire Star
2353187 at gmail.com
Tue Nov 10 05:21:13 GMT 2026
Hello,
a short follow-up: the proposed one-line change is attached as a file,
because the inline copy in my initial report lost its leading whitespace
when the mail was converted to plain text (all indentation in the diff is
gone).
Only one line differs:
- info = malloc(sizeof(struct jtagspi_flash_bank));
+ info = calloc(1, sizeof(struct jtagspi_flash_bank));
If you prefer to work from the inline text in the report, applying it
with `patch -p1 -l` (ignore whitespace) or editing that single line by
hand is equally fine - nothing else in src/flash/nor/jtagspi.c changes.
The equivalent upstream commit is fe5ed48f40 (merged 2023-09-23). A
hardening change that makes a dropped erase command visible is on
Gerrit as https://review.openocd.org/c/openocd/+/10232 (the mingw64 CI
build for it passed).
Kind regards,
qiansr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20261110/0d429a8f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian-jtagspi-calloc.patch
Type: application/octet-stream
Size: 874 bytes
Desc: debian-jtagspi-calloc.patch
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20261110/0d429a8f/attachment.obj>
More information about the Pkg-electronics-devel
mailing list