public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug crypt/27470] New: Segmentation fault in crypt.c
@ 2021-02-25 22:15 tobias.hortgiess at gmail dot com
0 siblings, 0 replies; only message in thread
From: tobias.hortgiess at gmail dot com @ 2021-02-25 22:15 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27470
Bug ID: 27470
Summary: Segmentation fault in crypt.c
Product: glibc
Version: 2.33
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: crypt
Assignee: unassigned at sourceware dot org
Reporter: tobias.hortgiess at gmail dot com
Target Milestone: ---
Example program:
#include <crypt.h>
#include <stdio.h>
int main() {
char* enc =
crypt("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"$2a$10$eqCElfVfl4PYBp6dLRutnOfu0enMfq53cZR5IfPykJrDEpsMFRRz.");
printf("%s\n", enc);
}
When encrypting with more than 512 character, crypt crashes with a segmentation
fault.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-25 22:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 22:15 [Bug crypt/27470] New: Segmentation fault in crypt.c tobias.hortgiess at gmail dot com
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).