View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001544 | libextractor | libextractor main library | public | 2010-03-06 17:04 | 2010-03-14 00:17 |
| Reporter | rfs | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.5.23 | ||||
| Fixed in Version | 0.6.1 | ||||
| Summary | 0001544: Failure to match /proc/%u/maps device node | ||||
| Description | The sscanf() string used to match /proc/%u/maps assumes that the device node (4th column) consists of two unsigned integers. However according to "man proc" these fields are hexadecimal. When running in a virtual machine, this caused the plugin path to fail. | ||||
| Additional Information | Problem appears to still be present in SVN head version. | ||||
| Tags | No tags attached. | ||||
| Attached Files | libextractor-0.5.23-dev-is-hex.patch (455 bytes)
--- libextractor-0.5.23/src/main/extractor.c.orig 2010-03-06 10:19:21.821425726 -0500
+++ libextractor-0.5.23/src/main/extractor.c 2010-03-06 10:19:51.228431169 -0500
@@ -340,7 +340,7 @@
if (f != NULL) {
while (NULL != fgets(line, 1024, f)) {
if ( (1 == sscanf(line,
- "%*x-%*x %*c%*c%*c%*c %*x %*2u:%*2u %*u%*[ ]%s",
+ "%*x-%*x %*c%*c%*c%*c %*x %*2x:%*2x %*u%*[ ]%s",
dir)) &&
(NULL != strstr(dir,
"libextractor")) ) {
| ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-03-06 17:04 | rfs | New Issue | |
| 2010-03-06 17:04 | rfs | File Added: libextractor-0.5.23-dev-is-hex.patch | |
| 2010-03-07 16:57 | Christian Grothoff | Note Added: 0004003 | |
| 2010-03-07 16:57 | Christian Grothoff | Status | new => resolved |
| 2010-03-07 16:57 | Christian Grothoff | Resolution | open => fixed |
| 2010-03-07 16:57 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2010-03-14 00:17 | Christian Grothoff | Status | resolved => closed |
| 2010-03-14 00:17 | Christian Grothoff | Fixed in Version | => 0.6.1 |