/[packages]/updates/3/aircrack-ng/current/SOURCES/aircrack-ng-1.1-CVE-2014-8323.patch
ViewVC logotype

Contents of /updates/3/aircrack-ng/current/SOURCES/aircrack-ng-1.1-CVE-2014-8323.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 797268 - (show annotations) (download)
Fri Nov 14 21:01:22 2014 UTC (9 years, 5 months ago) by luigiwalser
File size: 748 byte(s)
add upstream patches to fix CVE-2014-832[2-4]
1 From da087238963c1239fdabd47dc1b65279605aca70 Mon Sep 17 00:00:00 2001
2 From: Thomas d'Otreppe <tdotreppe@aircrack-ng.org>
3 Date: Fri, 3 Oct 2014 01:58:02 +0000
4 Subject: [PATCH] Buddy-ng: Fixed segmentation fault (Closes #15 on GitHub).
5
6 git-svn-id: http://svn.aircrack-ng.org/trunk@2418 28c6078b-6c39-48e3-add9-af49d547ecab
7 ---
8 src/buddy-ng.c | 2 ++
9 1 file changed, 2 insertions(+)
10
11 diff --git a/src/buddy-ng.c b/src/buddy-ng.c
12 index 8a7927c..8da8996 100644
13 --- a/src/buddy-ng.c
14 +++ b/src/buddy-ng.c
15 @@ -83,6 +83,8 @@ int handle(int s, unsigned char* data, int len, struct sockaddr_in *s_in)
16 *cmd++ = htons(S_CMD_PACKET);
17 *cmd++ = *pid;
18 plen = len - 2;
19 + if (plen < 0)
20 + return 0;
21
22 last_id = ntohs(*pid);
23 if (last_id > 20000)

  ViewVC Help
Powered by ViewVC 1.1.30