Bug 175792
Summary: | at jobs have finite chance of failure | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | JW <ohtmvyyn> | ||||
Component: | at | Assignee: | Marcela Mašláňová <mmaslano> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike McLean <mikem> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | Keywords: | FutureFeature | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | at-3.1.8-49 | Doc Type: | Enhancement | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-08-22 15:25:17 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: | |||||||
Attachments: |
|
Description
JW
2005-12-15 00:51:36 UTC
Created attachment 122258 [details]
Generates shell delimiter more sensibly
This patch generates a shell delimiter string at job creation time using simple
rand() rather than using dd/urandom/tr at job run time. The dd/urandom/tr
method is flawed in that it introduces a greater possibility of a delimiter
being created that matches some content of the job. This is because the length
of the generated delimiter will average 48 chars (200*(10+26+26)/256) but there
is a strong possibility that it will be, say, 10 characters. This patch
guarantees the length of the delimiter is always 76 characters.
Yes, I'm planning to replace this "here document" method of executing at jobs entirely in the next release - thanks for the patch. It was patched in FC-4 version at-3.1.8-49. |