0001-xml-handle-failure-of-xmlSecBase64Decode-8070.patch
lasso/xml/tools.c | ||
---|---|---|
1325 | 1325 |
zre = xmlMalloc(len*4); |
1326 | 1326 |
len = xmlSecBase64Decode(b64_zre, zre, len*4); |
1327 | 1327 |
xmlFree(b64_zre); |
1328 |
if (len == -1) { |
|
1329 |
message(G_LOG_LEVEL_CRITICAL, "Failed to base64-decode query"); |
|
1330 |
xmlFree(zre); |
|
1331 |
return FALSE; |
|
1332 |
} |
|
1328 | 1333 | |
1329 | 1334 |
zstr.zalloc = NULL; |
1330 | 1335 |
zstr.zfree = NULL; |
1331 |
- |