public inbox for
 help / color / mirror / Atom feed
From: Florian Weimer <>
To: Dmitriy Chestnyh <>
Cc: "" <>,
	 Valeriy Kascheev <>
Subject: Re: Possibly non-terminated string in sprof utility
Date: Fri, 01 Apr 2022 15:24:11 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <> (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.

      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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* 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).