From: Florian Weimer <fw@deneb.enyo.de>
To: Dmitriy Chestnyh <d.chestnyh@omp.ru>
Cc: "libc-stable@sourceware.org" <libc-stable@sourceware.org>,
Valeriy Kascheev <v.kascheev@omp.ru>
Subject: Re: Possibly non-terminated string in sprof utility
Date: Fri, 01 Apr 2022 15:24:11 +0200 [thread overview]
Message-ID: <87bkxlhr7o.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <1bccf4aeb08548cbbe4e99bd2e79eb3b@omp.ru> (Dmitriy Chestnyh's message of "Fri, 1 Apr 2022 07:58:42 +0000")
* Dmitriy Chestnyh:
> Can we be sure that variable `soname` at line 290 of elf/sprof.c is
> always null-terminated string?
The pointer points into the dynamic string table of the ELF object, so
it's null-terminated as long as the ELF file is valid.
prev parent reply other threads:[~2022-04-01 13:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-01 7:58 Dmitriy Chestnyh
2022-04-01 13:24 ` Florian Weimer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkxlhr7o.fsf@mid.deneb.enyo.de \
--to=fw@deneb.enyo.de \
--cc=d.chestnyh@omp.ru \
--cc=libc-stable@sourceware.org \
--cc=v.kascheev@omp.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).