The Samba-Bugzilla – Attachment 1133 Details for
Bug 2565
source/torture/t_strstr.c segfaults
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check for NULL return from strstr_m
t_strstr.diff (text/plain), 399 bytes, created by
Tim Bishop
on 2005-04-01 16:24:22 UTC
(
hide
)
Description:
Check for NULL return from strstr_m
Filename:
MIME Type:
Creator:
Tim Bishop
Created:
2005-04-01 16:24:22 UTC
Size:
399 bytes
patch
obsolete
>diff -Nru tmp/samba-3.0.13/source/torture/t_strstr.c work/samba-3.0.13/source/torture/t_strstr.c >--- tmp/samba-3.0.13/source/torture/t_strstr.c 2005-02-25 17:59:43.000000000 +0000 >+++ work/samba-3.0.13/source/torture/t_strstr.c 2005-04-02 00:12:23.312367000 +0100 >@@ -29,6 +29,8 @@ > ret = strstr_m(argv[1], argv[2]); > } > >+ if(ret == NULL) ret = "(null)"; >+ > printf("%s\n", ret); > > 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 2565
: 1133