File: insert_ip-conflicting-declarations.patch

package info (click to toggle)
bootp 2.4.3-21.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 900 kB
  • sloc: ansic: 11,242; makefile: 264; sh: 55
file content (19 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Michael Tautschnig <mt@debian.org>
Subject: bootp: Conflicting declarations of insert_ip to cause undefined behaviour
Date: Wed, 28 May 2014 17:13:30 +0100

Patch by Anibal Monsalve Salazar <anibal@debian.org>

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749613

--- a/dovend.h
+++ b/dovend.h
@@ -9,7 +9,7 @@
 #endif
 
 extern int dovend_rfc1497 P((struct host *hp, u_char *buf, int len));
-extern int insert_ip P((int, struct in_addr_list *, u_char **, int *));
+extern int insert_ip P((u_char, struct in_addr_list *, u_char **, int *));
 extern void insert_u_long P((u_int32_t, u_char **));
 
 #undef P