Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 891628 Details for
Bug 1093446
mkfs can create filesystems with a revision that breaks e2fsprogs support
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to limit filesystem revision number
limit_rev.patch (text/plain), 736 bytes, created by
Frank Sorenson
on 2014-05-01 20:13:19 UTC
(
hide
)
Description:
patch to limit filesystem revision number
Filename:
MIME Type:
Creator:
Frank Sorenson
Created:
2014-05-01 20:13:19 UTC
Size:
736 bytes
patch
obsolete
>Author: Frank Sorenson <sorenson@redhat.com> >Date: 2014-05-01 15:06:23 -0500 > > mke2fs.c: prevent creation of filesystem with unsupported revision > > Don't create a filesystem with an unsupported revision number > > Signed-off-by: Frank Sorenson <sorenson@redhat.com> > >diff --git a/misc/mke2fs.c b/misc/mke2fs.c >index aecd5d5..3aa1dc3 100644 >--- a/misc/mke2fs.c >+++ b/misc/mke2fs.c >@@ -1684,6 +1684,11 @@ profile_error: > _("bad revision level - %s"), optarg); > exit(1); > } >+ if (r_opt > EXT2_MAX_SUPP_REV) { >+ com_err(program_name, EXT2_ET_REV_TOO_HIGH, >+ _("while trying to create revision %d"), r_opt); >+ exit(1); >+ } > fs_param.s_rev_level = r_opt; > break; > case 's': /* deprecated */
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 1093446
: 891628