Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 27 Sep 2016 17:29:42 +0530
From: Reno Robert <>
Subject: CVE Request - OpenSLP 2.0 Memory Corruption


The following commit fixes a memory corruption bug that I reported in OpenSLP:

Below are the details of the issue:

static int SLPFoldWhiteSpace(size_t len, char * str)
      char * p = str, * ep = str + len;
      while (p < ep)
            if (isspace(*p))
                char * ws2p = ++p;
                while (isspace(*p))
                len -= p - ws2p;
                memmove(ws2p, p, ep - p);

The outer while loop checks for p < ep, but lack of bound check in
inner while loop could result in p > ep. This will result in passing a
very large 'size_t len' (ep - p) parameter for memmove().

Could you assign a CVE for this?

Reno Robert

Powered by blists - more mailing lists

Your e-mail address:

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Powered by Openwall GNU/*/Linux - Powered by OpenVZ