History log of /external/dhcpcd/dhcp.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c1c270dba20afa63a5b7769646cf721d0fa7c431 14-Nov-2014 Erik Kline <ek@google.com> Fun with buffer overrruns.

In get_option(): don't read past the end of the option buffer.

Also add a small unittest to verify sane behaviour for the above.
The dhcpcd code is not easily refactored into a library, nor is it
entirely possible to include some header files directly since some
structures use C++ reserved keywords ("new") for variable names.

In print_option(): use of snprintf() returns the length that
/would/ have been written. Add checks that the output buffer
is not overrun when printing.

Bug: 18356137
Bug: 18356135
Change-Id: I0f907b8a952208749226ba034a416d773e068f8a
/external/dhcpcd/dhcp.c
de806dfdb6dd3b9dec5d1d23c9029fb300799cf8 15-Aug-2014 Lorenzo Colitti <lorenzo@google.com> Fix DoS vulnerability in DHO_OPTIONSOVERLOADED.

Bug: 16677003

(cherry picked from commit 371e319488e62475a4185a93bf47580860268561)

Change-Id: I01446092c7ca9e0133d835cfdae8a9ee467d7aaf
/external/dhcpcd/dhcp.c
a3a2260384a906e1674c7498c2f479e9f37bc503 24-Jul-2012 Dmitry Shmidt <dimitrysh@google.com> dhcpcd: Update to Version 5.5.6

Change-Id: I98c378688be723a2a602ec17c26bc13f2fd83cc8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/external/dhcpcd/dhcp.c
ddaa48f57b54b2862b3e6dcf18a44c9647f3baaa 17-Nov-2011 tk.mun <tk.mun@samsung.com> wimax : Fix for some DHCP servers not returning some DNS info

Explicitly include 'domain_name_servers' and 'domain_name' in the list
of parameters requested in the DNS request.
Without this some DHCP servers may skip the DNS entries in the DHCP replies.

Change-Id: I4c6463acd4f0719984a8cab9903ce50fcf59405a
Signed-off-by: tk.mun <tk.mun@samsung.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/external/dhcpcd/dhcp.c
0545fad98723550607287a86bfee3807c7d26e91 25-Jan-2011 Dmitry Shmidt <dimitrysh@google.com> dhcpcd: Add Android patches

Change-Id: Ia232992f6e18a1494ad12e38c95fd0d2a7520e8e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/external/dhcpcd/dhcp.c
e86eee143ed21592f88a46623a81f71002430459 25-Jan-2011 Dmitry Shmidt <dimitrysh@google.com> dhcpcd: Update to Version 5.2.10

Change-Id: I949331c7aad91b125decd51da4041983d3a352bc
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/external/dhcpcd/dhcp.c
938bc384f44031877543765a9ae18c764f5da9c8 08-Jan-2010 Dmitry Shmidt <dimitrysh@google.com> dhcpcd: Upgrade from 4.0.1 to 4.0.15

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/external/dhcpcd/dhcp.c
f7c5421560640d23fc10803b9d59a9ff1d83e467 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/dhcpcd/dhcp.c
d97c47cad830d00c9da685cc4ea157d6185f6c97 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/dhcpcd/dhcp.c
4c5a5fb53bccceff331bae70f748bf9b4609fe0a 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/external/dhcpcd/dhcp.c
e95877ecfa1170d77b1ec1f66752725cdda01b64 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/dhcpcd/dhcp.c