public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10195] New: nd_opt_home_agent_info.nd_opt_home_agent_info_preference declared as an int16_t instead of uint16_t
@ 2009-05-23 23:49 arno at natisbad dot org
  2009-05-23 23:57 ` [Bug libc/10195] " arno at natisbad dot org
  2009-06-16  3:34 ` drepper at redhat dot com
  0 siblings, 2 replies; 4+ messages in thread
From: arno at natisbad dot org @ 2009-05-23 23:49 UTC (permalink / raw)
  To: glibc-bugs

netinet/icmpv6.h implements the structure associated with MIPv6 Home Agent
Information Option (struct nd_opt_home_agent_info). It was added by commit 959eb65d.

The option is defined in section 7.4 of RFC 3775. It contains a "Home Agent
Preference" field defined as a "16-bit unsigned integer".

The associated field (nd_opt_home_agent_info_preference) in
nd_opt_homeagent_info is defined as an int16_t.

It should be a uint16_t.

Cheers,

a+

ps: I checked the sources of RADVD (Linux Router Advertisement daemon). It
redefines a structure for the option. The field is an unsigned. Same thing in
UMIP (Linux Mobile IPv6 daemon).

-- 
           Summary: nd_opt_home_agent_info.nd_opt_home_agent_info_preference
                    declared as an int16_t instead of uint16_t
           Product: glibc
           Version: 2.10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: arno at natisbad dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10195

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/10195] nd_opt_home_agent_info.nd_opt_home_agent_info_preference declared as an int16_t instead of uint16_t
  2009-05-23 23:49 [Bug libc/10195] New: nd_opt_home_agent_info.nd_opt_home_agent_info_preference declared as an int16_t instead of uint16_t arno at natisbad dot org
@ 2009-05-23 23:57 ` arno at natisbad dot org
  2009-06-16  3:34 ` drepper at redhat dot com
  1 sibling, 0 replies; 4+ messages in thread
From: arno at natisbad dot org @ 2009-05-23 23:57 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From arno at natisbad dot org  2009-05-23 23:57 -------
Created an attachment (id=3961)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3961&action=view)
Correct nd_opt_home_agent_info_preference field. Make it an uint16_t. Patch
against freshglibc-2_10-branch 


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10195

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/10195] nd_opt_home_agent_info.nd_opt_home_agent_info_preference declared as an int16_t instead of uint16_t
  2009-05-23 23:49 [Bug libc/10195] New: nd_opt_home_agent_info.nd_opt_home_agent_info_preference declared as an int16_t instead of uint16_t arno at natisbad dot org
  2009-05-23 23:57 ` [Bug libc/10195] " arno at natisbad dot org
@ 2009-06-16  3:34 ` drepper at redhat dot com
  1 sibling, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2009-06-16  3:34 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-06-16 03:34 -------
Fix in git.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10195

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/10195] nd_opt_home_agent_info.nd_opt_home_agent_info_preference declared as an int16_t instead of uint16_t
       [not found] <bug-10195-131@http.sourceware.org/bugzilla/>
@ 2014-07-01 20:19 ` fweimer at redhat dot com
  0 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-07-01 20:19 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=10195

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-01 20:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-23 23:49 [Bug libc/10195] New: nd_opt_home_agent_info.nd_opt_home_agent_info_preference declared as an int16_t instead of uint16_t arno at natisbad dot org
2009-05-23 23:57 ` [Bug libc/10195] " arno at natisbad dot org
2009-06-16  3:34 ` drepper at redhat dot com
     [not found] <bug-10195-131@http.sourceware.org/bugzilla/>
2014-07-01 20:19 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).