FreeBSD Bugzilla – Attachment 207388 Details for
Bug 240509
segfault in basename(3)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
reproducer
basename.c (text/plain), 199 bytes, created by
Niclas Zeising
on 2019-09-11 14:15:19 UTC
(
hide
)
Description:
reproducer
Filename:
MIME Type:
Creator:
Niclas Zeising
Created:
2019-09-11 14:15:19 UTC
Size:
199 bytes
patch
obsolete
>#include <libgen.h> >#include <stdio.h> > >int >main(void) >{ > char *filename = "/home/tags"; > char *file; > > file = basename(filename); > > printf("file: %s\tfilename: %s\n", file, filename); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 240509
: 207388