History log of /netbsd-src/lib/libc/resolv/res_debug.c (Results 1 – 18 of 18)
Revision Date Author Comments
# 33ce193d 09-Aug-2023 riastradh <riastradh@NetBSD.org>

libc/resolv/res_debug.c: Minor whitespace fixes.


# f386908b 01-Aug-2023 mrg <mrg@NetBSD.org>

convert explicit length check before unchecked snprintf() with just a
overflow checked snprintf(). for res_debug.c and res_query.c, convert
from sprintf() to snprintf().

tested scp and rcp fail pro

convert explicit length check before unchecked snprintf() with just a
overflow checked snprintf(). for res_debug.c and res_query.c, convert
from sprintf() to snprintf().

tested scp and rcp fail properly with too-long paths.
tested getaddrinfo fails as expected for too-long domains.
tested dig and ping for similar (res_debug.c/res_query.c).
created a temporary fs with quotas to test edquota with a long EDITOR.
did not test ypserv directly, but it's the same pattern.

avoids GCC 12 snprintf() warnings, and reduces total code size.

show more ...


# b780d9b6 16-Sep-2021 andvar <andvar@NetBSD.org>

fix various typos, mainly in comments.


# 62523467 13-Dec-2018 maya <maya@NetBSD.org>

Remove unused macro


# 4d416d88 24-Feb-2015 christos <christos@NetBSD.org>

belated removal of the advertising clause.


# 9e66e6d7 25-Jun-2012 abs <abs@NetBSD.org>

Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)


# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values t

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@

show more ...


# 59a755a4 12-Apr-2009 christos <christos@NetBSD.org>

merge libbind and bump.


# 3873655b 21-Jun-2008 christos <christos@NetBSD.org>

updates from bind-9-5-0


# 225c5452 30-Mar-2007 ghen <ghen@NetBSD.org>

Resolve conflicts.


# d73eb73d 27-Jan-2007 christos <christos@NetBSD.org>

merge in resolver portion of bind-9.4.0-rc2


# 0766545f 07-Nov-2004 christos <christos@NetBSD.org>

resolve conflicts.


# 5ce4c264 21-May-2004 christos <christos@NetBSD.org>

disable weak aliases for now; the resolver header file adds __ to all the
names.


# 6f3786f4 21-May-2004 christos <christos@NetBSD.org>

namespace protection for resolver routines.


# ca31adbd 20-May-2004 christos <christos@NetBSD.org>

netbsd rcsid.


# 50d86ec2 20-May-2004 christos <christos@NetBSD.org>

more lint fixes.


# 08b5682b 20-May-2004 christos <christos@NetBSD.org>

- add casts to silence lint
- add missing prototype
- rename variables to avoid hiding globals


# 2b237084 20-May-2004 christos <christos@NetBSD.org>

Import libc portion of the resolver from bind9