Bug 4926 - bad use of "/" character not checked
bad use of "/" character not checked
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 1999-09-05 13:16 EDT by tengel
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-12-16 11:09:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description tengel 1999-09-05 13:16:38 EDT
Illegal/accidental use of the "/" character is not checked
in the Version: tag (and possibly others) when RPM reads the
spec file, causing it to fail later in the build process.
Should be changed to check just like "-" is already checked
Comment 1 Jeff Johnson 1999-12-16 11:09:59 EST
The current design of rpm says
	Everything but '-' is permitted in version/release.
even though, as we both know, certain characters like "%/$:.! \t\r\n" are
bound to produce surprises when version is evaluated in different contexts.
Without a more explicit definition of what is permitted in version/release,
it's impossible to implement a better check than is what already implemented.

Note You need to log in before you can comment on or make changes to this bug.