ALT Linux Bugzilla
– Attachment 6082 Details for
Bug 29976
kernel NULL pointer dereference in symbolserial
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
diff между оригинальным symbolserial.c и исправленным
symbolserial.diff (text/plain), 1.35 KB, created by
Vadim Zelenin
on 2014-04-10 21:07:50 MSK
(
hide
)
Description:
diff между оригинальным symbolserial.c и исправленным
Filename:
MIME Type:
Creator:
Vadim Zelenin
Created:
2014-04-10 21:07:50 MSK
Size:
1.35 KB
patch
obsolete
>--- symbolserial.c.original 2014-04-10 20:11:02.674990126 +0400 >+++ symbolserial.c 2014-04-10 20:54:29.795220618 +0400 >@@ -1,6 +1,7 @@ > /* > * Symbol USB barcode to serial driver > * >+ * Copyright (C) 2014 Vadim Zelenin <VadimZelenin@gmail.com> > * Copyright (C) 2013 Johan Hovold <jhovold@gmail.com> > * Copyright (C) 2009 Greg Kroah-Hartman <gregkh@suse.de> > * Copyright (C) 2009 Novell Inc. >@@ -97,7 +98,7 @@ > > static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port) > { >- struct symbol_private *priv = usb_get_serial_data(port->serial); >+ struct symbol_private *priv = usb_get_serial_port_data(port); > unsigned long flags; > int result = 0; > >@@ -123,7 +124,7 @@ > static void symbol_throttle(struct tty_struct *tty) > { > struct usb_serial_port *port = tty->driver_data; >- struct symbol_private *priv = usb_get_serial_data(port->serial); >+ struct symbol_private *priv = usb_get_serial_port_data(port); > > spin_lock_irq(&priv->lock); > priv->throttled = true; >@@ -133,7 +134,7 @@ > static void symbol_unthrottle(struct tty_struct *tty) > { > struct usb_serial_port *port = tty->driver_data; >- struct symbol_private *priv = usb_get_serial_data(port->serial); >+ struct symbol_private *priv = usb_get_serial_port_data(port); > int result; > bool was_throttled; >
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 29976
: 6082