first report of the static analyzer:
A string is copied into the buffer 's' of size 577 without checking its length
first at sparc_attrs.c:95.
Corrections explained:
Record Length Limit: We use strncat to add a line indicating the available
remaining_size. This prevents writing beyond the alloc
On Tue, Nov 5, 2024, at 9:25 AM, Anton Moryakov wrote:
> Record Length Limit: We use strncat to add a line indicating the
> available remaining_size. This prevents writing beyond the allocated
> memory.
> Remaining space update: remaining_size is updated after each entry to
> ensure that row
Hi,
On Tue, Nov 05, 2024 at 11:58:19AM -0500, Serhei Makarov wrote:
> On Tue, Nov 5, 2024, at 9:25 AM, Anton Moryakov wrote:
> > Record Length Limit: We use strncat to add a line indicating the
> > available remaining_size. This prevents writing beyond the allocated
> > memory.
> > Remaining spa
From: Моряков, Антон
---
elfutils/backends/sparc_attrs.c | 5 -
...c_attrs.c-Prevent-buffer-overflow-in-sparc_check.patch | 8
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/elfutils/backends/sparc_attrs.c b/elfutils/backends/sparc_attrs.c
i
https://sourceware.org/bugzilla/show_bug.cgi?id=32253
Aaron Merey changed:
What|Removed |Added
See Also||https://sourceware.org/bugz
strip --reloc-debug-sections-only is expected to be a no-op for
non-ET_REL files. This was not enforced in the code. Sections
were copied over to a new output file and normally its contents
would be identical to the input file.
However the output file is not identical to a non-ET_REL input
file
https://sourceware.org/bugzilla/show_bug.cgi?id=32311
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigne