projects
/
platform
/
upstream
/
hplip.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tizen 2.1 base
[platform/upstream/hplip.git]
/
packaging
/
hplip-3.9.8-CVE-2010-4267.patch
1
--- io/hpmud/pml.c.orig 2009-08-04 23:37:25.000000000 +0200
2
+++ io/hpmud/pml.c 2010-12-17 13:09:28.000000000 +0100
3
@@ -504,6 +504,8 @@ enum HPMUD_RESULT hpmud_get_pml(HPMUD_DE
4
p += 2; /* eat type and length */
5
}
6
7
+ if (dLen > buf_size)
8
+ dLen = buf_size;
9
memcpy(buf, p, dLen);
10
*bytes_read = dLen;
11
*type = dt;