History log of /openbsd-current/lib/libc/asr/getrrsetbyname_async.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.14 07-May-2024 djm

avoid memcpy(malloc(0), ..., 0), which is not portable.
ok florian@


Revision tags: OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.13 15-Mar-2023 millert

Fix a number of out of bound reads in DNS response parsing.
Originally from djm@. OK deraadt@ florian@ bluhm@


# 1.12 27-Dec-2022 jmc

spelling fixes; from paul tagliamonte
any changes not taken noted on tech, but chiefly here i did not take the
cancelation - cancellation changes;


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.11 23-Feb-2017 eric

branches: 1.11.22; 1.11.24;
Put a common subq pointer in the query struct, rather than one in each
element of the union.

ok gilles@ millert@ krw@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.10 20-Sep-2015 eric

remove bogus includes of err.h


# 1.9 14-Sep-2015 guenther

Wrap <asr.h> so internal calls go direct and all the symbols are weak


# 1.8 09-Sep-2015 deraadt

Hide all unnecessary asr / resolver related API with _ prefixes.
direction & ok guenther


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.7 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.6 25-Mar-2014 eric

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.5 12-Jul-2013 eric

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 1.4 30-Apr-2013 eric

Do not take external buffers for storing DNS responses in the internal
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when needed.


Revision tags: OPENBSD_5_3_BASE
# 1.3 24-Nov-2012 eric

knf


# 1.2 18-Aug-2012 eric

getrrsetyname() only uses ERRSET_* and is not supposed to set errno.
make sure to save and restore errno properly.


Revision tags: OPENBSD_5_2_BASE
# 1.1 14-Apr-2012 eric

Import asr, an experimental async resolver implementation.
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.

ok deraadt@


# 1.13 15-Mar-2023 millert

Fix a number of out of bound reads in DNS response parsing.
Originally from djm@. OK deraadt@ florian@ bluhm@


# 1.12 27-Dec-2022 jmc

spelling fixes; from paul tagliamonte
any changes not taken noted on tech, but chiefly here i did not take the
cancelation - cancellation changes;


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.11 23-Feb-2017 eric

branches: 1.11.22; 1.11.24;
Put a common subq pointer in the query struct, rather than one in each
element of the union.

ok gilles@ millert@ krw@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.10 20-Sep-2015 eric

remove bogus includes of err.h


# 1.9 14-Sep-2015 guenther

Wrap <asr.h> so internal calls go direct and all the symbols are weak


# 1.8 09-Sep-2015 deraadt

Hide all unnecessary asr / resolver related API with _ prefixes.
direction & ok guenther


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.7 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.6 25-Mar-2014 eric

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.5 12-Jul-2013 eric

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 1.4 30-Apr-2013 eric

Do not take external buffers for storing DNS responses in the internal
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when needed.


Revision tags: OPENBSD_5_3_BASE
# 1.3 24-Nov-2012 eric

knf


# 1.2 18-Aug-2012 eric

getrrsetyname() only uses ERRSET_* and is not supposed to set errno.
make sure to save and restore errno properly.


Revision tags: OPENBSD_5_2_BASE
# 1.1 14-Apr-2012 eric

Import asr, an experimental async resolver implementation.
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.

ok deraadt@


# 1.12 27-Dec-2022 jmc

spelling fixes; from paul tagliamonte
any changes not taken noted on tech, but chiefly here i did not take the
cancelation - cancellation changes;


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.11 23-Feb-2017 eric

Put a common subq pointer in the query struct, rather than one in each
element of the union.

ok gilles@ millert@ krw@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.10 20-Sep-2015 eric

remove bogus includes of err.h


# 1.9 14-Sep-2015 guenther

Wrap <asr.h> so internal calls go direct and all the symbols are weak


# 1.8 09-Sep-2015 deraadt

Hide all unnecessary asr / resolver related API with _ prefixes.
direction & ok guenther


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.7 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.6 25-Mar-2014 eric

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.5 12-Jul-2013 eric

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 1.4 30-Apr-2013 eric

Do not take external buffers for storing DNS responses in the internal
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when needed.


Revision tags: OPENBSD_5_3_BASE
# 1.3 24-Nov-2012 eric

knf


# 1.2 18-Aug-2012 eric

getrrsetyname() only uses ERRSET_* and is not supposed to set errno.
make sure to save and restore errno properly.


Revision tags: OPENBSD_5_2_BASE
# 1.1 14-Apr-2012 eric

Import asr, an experimental async resolver implementation.
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.

ok deraadt@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.11 23-Feb-2017 eric

Put a common subq pointer in the query struct, rather than one in each
element of the union.

ok gilles@ millert@ krw@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.10 20-Sep-2015 eric

remove bogus includes of err.h


# 1.9 14-Sep-2015 guenther

Wrap <asr.h> so internal calls go direct and all the symbols are weak


# 1.8 09-Sep-2015 deraadt

Hide all unnecessary asr / resolver related API with _ prefixes.
direction & ok guenther


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.7 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.6 25-Mar-2014 eric

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.5 12-Jul-2013 eric

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 1.4 30-Apr-2013 eric

Do not take external buffers for storing DNS responses in the internal
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when needed.


Revision tags: OPENBSD_5_3_BASE
# 1.3 24-Nov-2012 eric

knf


# 1.2 18-Aug-2012 eric

getrrsetyname() only uses ERRSET_* and is not supposed to set errno.
make sure to save and restore errno properly.


Revision tags: OPENBSD_5_2_BASE
# 1.1 14-Apr-2012 eric

Import asr, an experimental async resolver implementation.
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.

ok deraadt@