blob: 87389bc304484de18c470bb616f1c21a46ed82da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-bb,v 1.2 2015/04/20 13:38:23 rodent Exp $
Bounds checking.
--- lib-src/portsmf/strparse.h.orig 2015-03-02 01:07:05.000000000 +0000
+++ lib-src/portsmf/strparse.h
@@ -10,7 +10,7 @@ public:
}
void skip_space();
char peek();
- void get_nonspace_quoted(std::string &field);
+ void get_nonspace_quoted(std::string &field, int flen);
// get the remaining characters, skipping initial spaces and final return
void get_remainder(std::string &field);
};
|