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 946302 Details for
Bug 1152001
Do not hardcode number of netrom ports
[?]
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]
Proposed fix
ax25-tools-0.0.10-no-netrom-limit.patch (text/plain), 530 bytes, created by
Jaroslav Škarvada
on 2014-10-13 10:10:59 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Jaroslav Škarvada
Created:
2014-10-13 10:10:59 UTC
Size:
530 bytes
patch
obsolete
>diff -up ax25-tools/netrom/nrattach.c.orig ax25-tools/netrom/nrattach.c >--- ax25-tools/netrom/nrattach.c.orig 2005-11-28 21:14:48.000000000 +0100 >+++ ax25-tools/netrom/nrattach.c 2014-10-13 11:52:15.689538393 +0200 >@@ -7,6 +7,7 @@ > #include <signal.h> > #include <ctype.h> > #include <netdb.h> >+#include <limits.h> > > #include <config.h> > >@@ -116,7 +117,7 @@ int getfreedev(char *dev) > return FALSE; > } > >- for (i = 0; i < 4; i++) { >+ for (i = 0; i < INT_MAX; i++) { > sprintf(dev, "nr%d", i); > strcpy(ifr.ifr_name, dev); >
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 1152001
: 946302