public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/17460] New: "nscd --help" crashes with segmentation fault on 32-bit machine
@ 2014-10-06 20:07 mikel at mikelr dot com
2014-10-06 20:08 ` [Bug nscd/17460] " mikel at mikelr dot com
2014-10-08 22:40 ` roland at gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: mikel at mikelr dot com @ 2014-10-06 20:07 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17460
Bug ID: 17460
Summary: "nscd --help" crashes with segmentation fault on
32-bit machine
Product: glibc
Version: 2.20
Status: NEW
Severity: normal
Priority: P2
Component: nscd
Assignee: unassigned at sourceware dot org
Reporter: mikel at mikelr dot com
CC: drepper.fsp at gmail dot com
Overview:
Printing the nscd help message with "nscd --help" fails part way through the
message with a
segmentation fault. Reproducible on a 32-bit architecture.
Steps to Reproduce:
1) nscd --help
Actual Results:
$ nscd --help
Usage: nscd [OPTION...]
Name Service Cache Daemon.
[Lines omitted]
-?, --help Give this help list
--usage Give a short usage message
Segmentation fault
Expected Results:
Help message displays without crashing.
Build:
glibc-2.20
i686-pc-linux-gnu
../glibc-2.20/configure --prefix=/usr --enable-obsolete-rpc
Additional Information:
There is a buffer overflow when printing the supported tables.
The memory allocated to hold the concatenated string is allocated with a size
of the pointer array.
This allocation is of insufficient length to hold the strings themselves.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug nscd/17460] "nscd --help" crashes with segmentation fault on 32-bit machine
2014-10-06 20:07 [Bug nscd/17460] New: "nscd --help" crashes with segmentation fault on 32-bit machine mikel at mikelr dot com
@ 2014-10-06 20:08 ` mikel at mikelr dot com
2014-10-08 22:40 ` roland at gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: mikel at mikelr dot com @ 2014-10-06 20:08 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17460
--- Comment #1 from Mikel Rychliski <mikel at mikelr dot com> ---
Created attachment 7815
--> https://sourceware.org/bugzilla/attachment.cgi?id=7815&action=edit
proposed patch
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug nscd/17460] "nscd --help" crashes with segmentation fault on 32-bit machine
2014-10-06 20:07 [Bug nscd/17460] New: "nscd --help" crashes with segmentation fault on 32-bit machine mikel at mikelr dot com
2014-10-06 20:08 ` [Bug nscd/17460] " mikel at mikelr dot com
@ 2014-10-08 22:40 ` roland at gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: roland at gnu dot org @ 2014-10-08 22:40 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17460
Roland McGrath <roland at gnu dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |roland at gnu dot org
Resolution|--- |FIXED
--- Comment #2 from Roland McGrath <roland at gnu dot org> ---
Fixed on trunk by c763c5d
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-08 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-06 20:07 [Bug nscd/17460] New: "nscd --help" crashes with segmentation fault on 32-bit machine mikel at mikelr dot com
2014-10-06 20:08 ` [Bug nscd/17460] " mikel at mikelr dot com
2014-10-08 22:40 ` roland at gnu dot org
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).