public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* nonstrings in Glibc
@ 2017-11-20 16:54 Martin Sebor
  2017-11-20 17:59 ` Paul Eggert
  2017-11-20 18:20 ` Carlos O'Donell
  0 siblings, 2 replies; 17+ messages in thread
From: Martin Sebor @ 2017-11-20 16:54 UTC (permalink / raw)
  To: GNU C Library

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-11-27 16:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20 16:54 nonstrings in Glibc Martin Sebor
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

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