source: freewrt/package/dnsmasq/patches/110-leases-path.patch@ a72a15a

freewrt_1_0 freewrt_2_0
Last change on this file since a72a15a was a72a15a, checked in by Dirk Nehring <dnehring@…>, 16 years ago

Dnsmasq Heap Overflow and Null-pointer Dereference on TFTP Server

http://www.coresecurity.com/content/dnsmasq-vulnerabilities

Todo: Patches on trunk still not updated

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@3874 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.1 KB
  • dnsmasq.conf.example

    diff -Nur dnsmasq-2.50.orig/dnsmasq.conf.example dnsmasq-2.50/dnsmasq.conf.example
    old new  
    410410# The DHCP server needs somewhere on disk to keep its lease database.
    411411# This defaults to a sane location, but if you want to change it, use
    412412# the line below.
    413 #dhcp-leasefile=/var/lib/misc/dnsmasq.leases
     413#dhcp-leasefile=/tmp/dnsmasq.leases
    414414
    415415# Set the DHCP server to authoritative mode. In this mode it will barge in
    416416# and take over the lease for any client which broadcasts on the network,
  • src/config.h

    diff -Nur dnsmasq-2.50.orig/src/config.h dnsmasq-2.50/src/config.h
    old new  
    4545#   elif defined(__sun__) || defined (__sun)
    4646#      define LEASEFILE "/var/cache/dnsmasq.leases"
    4747#   else
    48 #      define LEASEFILE "/var/lib/misc/dnsmasq.leases"
     48#      define LEASEFILE "/tmp/dnsmasq.leases"
    4949#   endif
    5050#endif
    5151
Note: See TracBrowser for help on using the repository browser.