Bug 1249
| Summary: | Problem parsing count parameters (always parses as 0) | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | hornbeck |
| Component: | mt-st | Assignee: | Michael K. Johnson <johnsonm> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.2 | CC: | hornbeck |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-04-10 03:50:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in mt-st-0.5b AFAICT |
There is a problem with mt-st-0.5. For the 'mt' commands processed by the 'do_standard' function, the count arguments are not processed properly and are always treated as 0. The problem is in 'mt.c' line 285 while reads : i = comp->cmd_function(mtfd, comp, argc - 2, &(argv[2])); It should read : i = comp->cmd_function(mtfd, comp, argc - argn, &(argv[argn]));