Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 89076
Collapse All | Expand All

(-)xml-security-c-1.1.0-orig/src/dsig/DSIGSignature.cpp (-4 / +4 lines)
Lines 1102-1108 Link Here
1102
	
1102
	
1103
	// Now check the calculated hash
1103
	// Now check the calculated hash
1104
1104
1105
	char b64Buf[256];
1105
	char b64Buf[1024];
1106
	unsigned int b64Len;
1106
	unsigned int b64Len;
1107
	safeBuffer b64SB;
1107
	safeBuffer b64SB;
1108
	
1108
	
Lines 1122-1128 Link Here
1122
			hash, 
1122
			hash, 
1123
			hashLen,
1123
			hashLen,
1124
			(char *) b64Buf, 
1124
			(char *) b64Buf, 
1125
			256);
1125
			1024);
1126
1126
1127
		if (b64Len <= 0) {
1127
		if (b64Len <= 0) {
1128
1128
Lines 1152-1158 Link Here
1152
			hash, 
1152
			hash, 
1153
			hashLen,
1153
			hashLen,
1154
			(char *) b64Buf, 
1154
			(char *) b64Buf, 
1155
			256);
1155
			1024);
1156
1156
1157
		if (b64Len <= 0) {
1157
		if (b64Len <= 0) {
1158
1158
Lines 1186-1192 Link Here
1186
								hashLen, 
1186
								hashLen, 
1187
								mp_signedInfo->getHMACOutputLength());
1187
								mp_signedInfo->getHMACOutputLength());
1188
		
1188
		
1189
		strncpy(b64Buf, (char *) b64SB.rawBuffer(), 255);
1189
		strncpy(b64Buf, (char *) b64SB.rawBuffer(), 1023);
1190
		break;
1190
		break;
1191
1191
1192
	default :
1192
	default :

Return to bug 89076