| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=111082
|
|
|
|
|
|
|
|
|
|
| |
Only warnings that could be fixed without changing the generated object
code and without restructuring the source code have been handled.
Reviewed by: /sbin/md5
Notes:
svn path=/head/; revision=111010
|
|
|
|
| |
Notes:
svn path=/head/; revision=110440
|
|
|
|
|
|
|
|
|
|
| |
an unaligned destination using bcopy instead of an assignment.
Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
PR: sparc64/46729
Notes:
svn path=/head/; revision=108711
|
|
|
|
|
|
|
| |
especially in troff files.
Notes:
svn path=/head/; revision=108533
|
|
|
|
| |
Notes:
svn path=/head/; revision=108317
|
|
|
|
| |
Notes:
svn path=/head/; revision=108087
|
|
|
|
| |
Notes:
svn path=/head/; revision=108040
|
|
|
|
| |
Notes:
svn path=/head/; revision=108037
|
|
|
|
| |
Notes:
svn path=/head/; revision=107864
|
|
|
|
| |
Notes:
svn path=/head/; revision=107836
|
|
|
|
|
|
|
|
| |
Submitted by: R. Imura <imura@ryu16.org>
Approved by: re (murray)
Notes:
svn path=/head/; revision=107796
|
|
|
|
|
|
|
|
|
|
| |
are marked up in stdio(3), and because they are defined expressions
of type "FILE *".
Approved by: re
Notes:
svn path=/head/; revision=107619
|
|
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107387
|
|
|
|
|
|
|
|
| |
Submitted by: jlemon
Approved by: re
Notes:
svn path=/head/; revision=107378
|
|
|
|
| |
Notes:
svn path=/head/; revision=107052
|
|
|
|
|
|
|
| |
MFC after: 5 days
Notes:
svn path=/head/; revision=106000
|
|
|
|
|
|
|
|
|
|
| |
- strtoul pedant. pointed out by deraadt
Obtained from: KAME
MFC after: 1 week
Notes:
svn path=/head/; revision=105943
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- port range check need to be done before htons. from deraadt
- %d/%u audit
- correct bad practice in the code - it uses two changing variables
to manage buffer (buf and buflen). we eliminate buflen and use
fixed point (ep) as the ending pointer.
- use snprintf, not sprintf
- pass correct name into q.name. from lukem@netbsd
- sync comment
Obtained from: KAME
MFC after: 1 week
Notes:
svn path=/head/; revision=105940
|
|
|
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
Notes:
svn path=/head/; revision=105783
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and getipnodeby*() thread-safe.
Our res_*() is not thread-safe. So, we share lock between
getaddrinfo() and getipnodeby*(). Still, we cannot use
getaddrinfo() and getipnodeby*() in conjunction with other
functions which call res_*().
Requested by: many people
Notes:
svn path=/head/; revision=104558
|
|
|
|
|
|
|
|
| |
Though res_query.c also defines and refers MAXPACKET, it is not
related to ansbuf. So, I didn't touch res_query.c.
Notes:
svn path=/head/; revision=104415
|
|
|
|
| |
Notes:
svn path=/head/; revision=103949
|
|
|
|
| |
Notes:
svn path=/head/; revision=103630
|
|
|
|
| |
Notes:
svn path=/head/; revision=103401
|
|
|
|
|
|
|
|
|
|
|
| |
KAME did the modification only to _dns_getaddrinfo(). However,
it is not sufficient, and res_queryN() should be modified, too.
So, I did same modification to res_queryN().
Obtained from: KAME
Notes:
svn path=/head/; revision=103357
|
|
|
|
|
|
|
| |
Fail when it is detected.
Notes:
svn path=/head/; revision=103350
|
|
|
|
|
|
|
|
|
| |
broke pthreads.
Reported by: mbr, tjr
Notes:
svn path=/head/; revision=103335
|
|
|
|
|
|
|
| |
Obtained from: KAME
Notes:
svn path=/head/; revision=103320
|
|
|
|
|
|
|
|
|
|
|
|
| |
insure enough space is available for the response, or be prepared
to resize the buffer and retry as necessary.
Do the conservative thing and make sure enough space is available.
Reviewed by: silence on freebsd-audit
Notes:
svn path=/head/; revision=103307
|
|
|
|
| |
Notes:
svn path=/head/; revision=103012
|
|
|
|
| |
Notes:
svn path=/head/; revision=102411
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to fail needlessly if a reverse DNS lookup of the IP address didn't
come up with a hostname. As a comment in the code clearly stated,
the "damn hostname" was looked up only for the purpose of netgroup
matching. But if that lookup failed, the function bailed out
immediately even though in many cases netgroup matching would not
be used.
This change marks the hostname as unknown but continues. Where
netgroup matching is performed, an unknown hostname is handled
conservatively. I.e., for "+@netgroup" (accept) entries an unknown
hostname never matches, and for "-@netgroup" (reject) entries an
unknown hostname always matches.
In the lines affected (only), I also fixed a few bogus casts. There
are others, and in fact this entire file would be a good candidate
for a cleanup sweep.
Reviewed by: imp (wearing his flourescent yellow Security Team cap)
MFC after: 2 days
Notes:
svn path=/head/; revision=102369
|
|
|
|
|
|
|
|
|
|
| |
PR: bin/27939
Reviewed by: ru, sheldonh (about a year ago)
Obtained from: ume (via KAME, I think)
MFC after: 1 month
Notes:
svn path=/head/; revision=102237
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
supplied buffer in case the size of it was equal to
the number of characters the converted address consumed.
The bug occurred when converting an AF_INET address.
- Remove the SPRINTF macro and use sprintf instead.
- Do not do string formatting using sprintf(3) and a
temporary buffer which is copied when the supplied
buffer provides enough space. Instead, use snprintf(3)
and the real destination buffer, thus avoid the copy.
Reported by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> (1)
PR: misc/41289
Notes:
svn path=/head/; revision=101943
|
|
|
|
|
|
|
| |
than 80 columns.
Notes:
svn path=/head/; revision=101939
|
|
|
|
|
|
|
|
|
|
| |
of our __restrict macro to the prototypes and function
definitions of inet_pton and inet_ntop.
- Use ANSI-C function argument lists.
- Adjust the prototypes in the manual page.
Notes:
svn path=/head/; revision=101880
|
|
|
|
| |
Notes:
svn path=/head/; revision=101576
|
|
|
|
|
|
|
|
|
| |
above, as it should be.
Submitted by: Olivier Houchard <cognet@ci0.org>
Notes:
svn path=/head/; revision=101221
|
|
|
|
|
|
|
|
|
|
|
| |
This will make the behavior robuster if many addresses are added
after the size estimation of storage at the first sysctl.
Reviewed by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
MFC after: 1 week
Notes:
svn path=/head/; revision=100657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use strlcpy.
- snprintf can return negative value, so cope with it.
- tweak interface index on interface locals (ff01::/16).
- removed unused macros.
- removed a macro that uses only once (in a trivial context).
- explicitly say goodbye to ENI_xxx.
- constify struct afd.
Obtained from: KAME
MFC after: 1 week
Notes:
svn path=/head/; revision=100628
|
|
|
|
|
|
|
|
|
|
| |
and if_freenameindex().
Obtained from: KAME
MFC after: 2 weeks
Notes:
svn path=/head/; revision=100138
|
|
|
|
| |
Notes:
svn path=/head/; revision=99527
|
|
|
|
|
|
|
|
|
|
| |
with recent 2553bis.
Obtained from: KAME
MFC after: 3 weeks
Notes:
svn path=/head/; revision=99252
|
|
|
|
|
|
|
|
|
| |
fixes the build.
Reported by: dillon.
Notes:
svn path=/head/; revision=98887
|
|
|
|
| |
Notes:
svn path=/head/; revision=98877
|
|
|
|
|
|
|
| |
commit.
Notes:
svn path=/head/; revision=98872
|
|
|
|
|
|
|
| |
plugs the hole.
Notes:
svn path=/head/; revision=98865
|
|
|
|
| |
Notes:
svn path=/head/; revision=98860
|
|
|
|
|
|
|
| |
Noticed by: nectar
Notes:
svn path=/head/; revision=98858
|