~vanhoof/+junk/znc

« back to all changes in this revision

Viewing changes to Buffer.h

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2009-07-24 13:46:00 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090724134600-uaxedj9f92i72ru1
Tags: 0.074-1
* New upstream release.
  - Bump urgency to high. This release fixes an high-impact directory
    traversal buf, where unpriviliged users can save about DCC SEND files on
    the server with the rights of the znc process. The attacker could also
    use the exploit to get a shell on the server.
    Closes: #537977
  - Use c-ares for DNS resolving, add libc-ares-dev and pkg-config as
    build-dependency.
* Merge 0.058-2+lenny2, 0.058-2+lenny3, 0.070-1~bpo40+1 and 0.070-1~bpo50+1
  changelog.
* Bump Standards-Version to 3.8.2 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#define _BUFFER_H
11
11
 
12
12
#include "ZNCString.h"
13
 
#include <vector>
 
13
#include <deque>
14
14
 
15
 
using std::vector;
 
15
using std::deque;
16
16
 
17
17
class CBufLine {
18
18
public:
35
35
        bool    m_bIncNick;
36
36
};
37
37
 
38
 
class CBuffer : private vector<CBufLine> {
 
38
class CBuffer : private deque<CBufLine> {
39
39
public:
40
40
        CBuffer(unsigned int uLineCount = 100);
41
41
        ~CBuffer();