Bug #1487
- #1487 `tasksh` segmentation fault (thanks to Hector Arciga).
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -192,3 +192,4 @@ suggestions:
|
|||||||
Michele Santullo
|
Michele Santullo
|
||||||
Scott Kroll
|
Scott Kroll
|
||||||
Kosta H
|
Kosta H
|
||||||
|
Hector Arciga
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ Features
|
|||||||
+ Removed deprecated 'push', 'pull' and 'merge' commands.
|
+ Removed deprecated 'push', 'pull' and 'merge' commands.
|
||||||
|
|
||||||
Bugs
|
Bugs
|
||||||
+ #1486 Truncated sentence in task-sync(5) manpage (thank to Jakub Wilk).
|
+ #1486 Truncated sentence in task-sync(5) manpage (thanks to Jakub Wilk).
|
||||||
|
+ #1487 `tasksh` segmentation fault (thanks to Hector Arciga).
|
||||||
+ Removed debugging code.
|
+ Removed debugging code.
|
||||||
|
|
||||||
------ current release ---------------------------
|
------ current release ---------------------------
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ int main (int argc, const char** argv)
|
|||||||
|
|
||||||
// Escape special chars.
|
// Escape special chars.
|
||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
while ((i = command.find_first_of ("$*?!|&;<>(){}~#@", i)) != std::string::npos)
|
while ((i = command.find_first_of ("$*?!|&;<>(){}~#@\\", i)) != std::string::npos)
|
||||||
{
|
{
|
||||||
command.insert(i, 1, '\\');
|
command.insert(i, 1, '\\');
|
||||||
i += 2;
|
i += 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user