• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ipsec-tools/0004-CVE-2015-4047.patch
Bernd KuhlsBernd Kuhls committed ff97e66c56502 Jun 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
ipsec-tools: CVE-2015-4047: null pointer dereference crash in racoon
2
​
3
See: https://bugs.gentoo.org/show_bug.cgi?id=550118
4
​
5
Downloaded from
6
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-vpn/ipsec-tools/files/ipsec-tools-CVE-2015-4047.patch
7
​
8
See also
9
https://sources.debian.net/src/ipsec-tools/1:0.8.2%2B20140711-8/debian/patches/bug785778-null-pointer-deref.patch/
10
​
11
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
12
​
13
--- ./src/racoon/gssapi.c    9 Sep 2006 16:22:09 -0000       1.4
14
+++ ./src/racoon/gssapi.c    19 May 2015 15:16:00 -0000      1.6
15
@@ -192,6 +192,11 @@
16
    gss_name_t princ, canon_princ;
17
    OM_uint32 maj_stat, min_stat;
18
 
19
+   if (iph1->rmconf == NULL) {
20
+       plog(LLV_ERROR, LOCATION, NULL, "no remote config\n");
21
+       return -1;
22
+   }
23
+
24
    gps = racoon_calloc(1, sizeof (struct gssapi_ph1_state));
25
    if (gps == NULL) {
26
        plog(LLV_ERROR, LOCATION, NULL, "racoon_calloc failed\n");
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.