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 199981 Details for
Bug 248716
Module MPPE cause kernel panic.
[?]
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]
workaround patch
rhel5-quickfix.patch (text/plain), 1008 bytes, created by
Michal Schmidt
on 2007-09-19 19:15:09 UTC
(
hide
)
Description:
workaround patch
Filename:
MIME Type:
Creator:
Michal Schmidt
Created:
2007-09-19 19:15:09 UTC
Size:
1008 bytes
patch
obsolete
>diff -up linux-2.6.18.x86_64/drivers/net/ppp_mppe.c.orig linux-2.6.18.x86_64/drivers/net/ppp_mppe.c >--- linux-2.6.18.x86_64/drivers/net/ppp_mppe.c.orig 2007-09-19 20:38:32.000000000 +0200 >+++ linux-2.6.18.x86_64/drivers/net/ppp_mppe.c 2007-09-19 20:41:23.000000000 +0200 >@@ -154,9 +154,14 @@ static void get_new_key_from_sha(struct > */ > static void mppe_rekey(struct ppp_mppe_state * state, int initial_key) > { >- unsigned char InterimKey[MPPE_MAX_KEY_LEN]; >+ unsigned char *InterimKey; > struct scatterlist sg_in[1], sg_out[1]; > >+ InterimKey = kmalloc(MPPE_MAX_KEY_LEN, GFP_ATOMIC); >+ if (!InterimKey) { >+ printk(KERN_ERR"mppe_rekey: can't alloc memory\n"); >+ return; >+ } > get_new_key_from_sha(state, InterimKey); > if (!initial_key) { > crypto_cipher_setkey(state->arc4, InterimKey, state->keylen); >@@ -176,6 +181,7 @@ static void mppe_rekey(struct ppp_mppe_s > state->session_key[2] = 0x9e; > } > crypto_cipher_setkey(state->arc4, state->session_key, state->keylen); >+ kfree(InterimKey); > } > > /*
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 248716
: 199981 |
202531