FreeBSD Bugzilla – Attachment 10206 Details for
Bug 20538
Segfault in ports/devel/cutils cobfusc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 676 bytes, created by
toasty
on 2000-08-11 21:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
toasty
Created:
2000-08-11 21:50:01 UTC
Size:
676 bytes
patch
obsolete
>--- cobfusc.c.orig Wed Mar 26 07:58:16 1997 >+++ cobfusc.c Fri Aug 11 15:36:09 2000 >@@ -342,25 +342,31 @@ > /* > * Convert the string to uppercase. > */ >- while (*p) >- *p = toupper(*p++); >+ while (*p) { >+ *p = toupper(*p); >+ p++; >+ } > break; > case 2: > /* > * Convert the string to lowercase. > */ >- while (*p) >- *p = tolower(*p++); >+ while (*p) { >+ *p = tolower(*p); >+ p++; >+ } > break; > default: > /* > * Convert the string to random case. > */ >- while (*p) >+ while (*p) { > if (RANDOM(2) == 1) >- *p = toupper(*p++); >+ *p = toupper(*p); > else >- *p = tolower(*p++); >+ *p = tolower(*p); >+ p++; >+ } > } > > return buf;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20538
: 10206