public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Martin Sebor <msebor@gmail.com>,
	GNU C Library <libc-alpha@sourceware.org>
Subject: Re: nonstrings in Glibc
Date: Tue, 21 Nov 2017 00:45:00 -0000	[thread overview]
Message-ID: <18d8f077-4928-8282-120c-5c99b2ea6cdc@cs.ucla.edu> (raw)
In-Reply-To: <7fd536fc-e0c4-90fd-fd83-5cfdd29dfe3e@gmail.com>

On 11/20/2017 10:44 AM, Martin Sebor wrote:
> I have been looking at strncpy uses but not
> really finding any opportunities to annotate character arrays (or
> pointers) nonstring beyond those that have already been marked.
> I'll keep looking.

Perhaps you should look at calls to strnlen too. If code uses strnlen, 
that's a hint that possibly strnlen's argument should be marked with 
nostring.

  reply	other threads:[~2017-11-21  0:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-20 16:54 Martin Sebor
2017-11-20 17:59 ` Paul Eggert
2017-11-20 18:44   ` Martin Sebor
2017-11-21  0:45     ` Paul Eggert [this message]
2017-11-20 18:20 ` Carlos O'Donell
2017-11-20 18:41   ` Florian Weimer
2017-11-21 21:21     ` Martin Sebor
2017-11-21 21:34       ` Florian Weimer
2017-11-21 21:37       ` Zack Weinberg
2017-11-21 22:31         ` Andreas Schwab
2017-11-21 22:39           ` Florian Weimer
2017-11-21 22:47         ` Joseph Myers
2017-11-21 23:41   ` Martin Sebor
2017-11-22  0:14     ` Dmitry V. Levin
2017-11-27 16:25       ` Martin Sebor
2017-11-27 16:25       ` Martin Sebor
2017-11-27 16:40         ` Carlos O'Donell

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=18d8f077-4928-8282-120c-5c99b2ea6cdc@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=libc-alpha@sourceware.org \
    --cc=msebor@gmail.com \
    /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).