Bugzilla – Attachment 261 Details for
Bug 517
bad "put" arg parsing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix escaping of quotes
sftp-int.patch (text/plain), 572 bytes, created by
Jason McCormick
on 2003-03-26 13:54:54 AEDT
(
hide
)
Description:
Patch to fix escaping of quotes
Filename:
MIME Type:
Creator:
Jason McCormick
Created:
2003-03-26 13:54:54 AEDT
Size:
572 bytes
patch
obsolete
>--- sftp-int.c.orig 2003-03-25 21:37:17.000000000 -0500 >+++ sftp-int.c 2003-03-25 21:54:51.000000000 -0500 >@@ -338,7 +338,16 @@ > if (*cp == '\"' || *cp == '\'') { > quot = *cp++; > >- end = strchr(cp, quot); >+ /* This block finds the 'bare' quote that >+ denotes the end of the filename and checks >+ to make sure that it's not an escaped quote >+ that should be part of the filename */ >+ end = cp; >+ while(end != NULL && *end != quot){ >+ if(*end == '\\') end++; >+ end++; >+ } >+ > if (end == NULL) { > error("Unterminated quote"); > goto fail;
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 517
:
257
|
258
|
259
|
260
|
261
|
264
|
265
|
299
|
302