public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Martin Sebor <msebor@gmail.com>
To: GNU C Library <libc-alpha@sourceware.org>
Subject: nonstrings in Glibc
Date: Mon, 20 Nov 2017 16:54:00 -0000	[thread overview]
Message-ID: <f5db1a7c-432b-ee74-45ee-a213c96f364b@gmail.com> (raw)

I'm done testing my update to the -Wstringop-truncation GCC patch
to find misuses of non-string arrays.  With the very limited use
of attribute nonstring it only found one potential bug (22447).
I've been looking at other uses of strncpy in Glibc to see if there
are other arrays that would benefit from the attribute.  I'm not
sufficiently familiar with Glibc data structures so it's a very
slow going.  Could someone help suggests data structures with
array members that might be candidates?

Thanks
Martin

             reply	other threads:[~2017-11-20 16:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-20 16:54 Martin Sebor [this message]
2017-11-20 17:59 ` Paul Eggert
2017-11-20 18:44   ` Martin Sebor
2017-11-21  0:45     ` Paul Eggert
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:40         ` Carlos O'Donell
2017-11-27 16:25       ` Martin Sebor

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=f5db1a7c-432b-ee74-45ee-a213c96f364b@gmail.com \
    --to=msebor@gmail.com \
    --cc=libc-alpha@sourceware.org \
    /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).