Exploit databaseDownload repository ZIP
GH-bd2efdc6d633069a08a53321e2375625
summitvc/cve-2026-3650
Sources for CVE-2026-3650
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files211
summitvc/cve-2026-3650Revision bbdf276d3485
- ↑..Parent directory
- CMakeLists.txt
- FileMetaInformation.txt
- README.txt
- TODO.txt
- gdcmAnonymizeEvent.cxx
- gdcmAnonymizeEvent.h
- gdcmAnonymizer.cxx
- gdcmAnonymizer.h
- gdcmApplicationEntity.cxx
- gdcmApplicationEntity.h
- gdcmAudioCodec.cxx
- gdcmAudioCodec.h
- gdcmBitmap.cxx
- gdcmBitmap.h
- gdcmBitmapToBitmapFilter.cxx
- gdcmBitmapToBitmapFilter.h
- gdcmCleaner.cxx
- gdcmCleaner.h
- gdcmCodec.h
- gdcmCoder.h
- gdcmConstCharWrapper.h
- gdcmCurve.cxx
- gdcmCurve.h
- gdcmDICOMDIR.cxx
- gdcmDICOMDIR.h
- gdcmDICOMDIRGenerator.cxx
- gdcmDICOMDIRGenerator.h
- gdcmDPath.cxx
- gdcmDPath.h
- gdcmDataSetHelper.cxx
- gdcmDataSetHelper.h
- gdcmDecoder.h
- gdcmDeltaEncodingCodec.cxx
- gdcmDeltaEncodingCodec.h
- gdcmDictPrinter.cxx
- gdcmDictPrinter.h
- gdcmDirectionCosines.cxx
- gdcmDirectionCosines.h
- gdcmDirectoryHelper.cxx
- gdcmDirectoryHelper.h
- gdcmDumper.cxx
- gdcmDumper.h
- gdcmEmptyMaskGenerator.cxx
- gdcmEmptyMaskGenerator.h
- gdcmEncapsulatedDocument.cxx
- gdcmEncapsulatedDocument.h
- gdcmEquipmentManufacturer.cxx
- gdcmEquipmentManufacturer.h
- gdcmFiducials.cxx
- gdcmFiducials.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
GDCM-3.2.2/Source/MediaStorageAndFileFormat/gdcmPersonName.h
Text · 2,520 bytes/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMPERSONNAME_H
#define GDCMPERSONNAME_H
#include "gdcmTypes.h"
#include <vector>
#include <algorithm> // std::min
#include <string.h> // strlen
namespace gdcm
{
/**
* \brief PersonName class
*/
class GDCM_EXPORT PersonName
{
public:
static const unsigned int MaxNumberOfComponents = 5;
static const unsigned int MaxLength = 64;
char Component[MaxNumberOfComponents][MaxLength+1];
static const char Separator = '^';
static const char Padding = ' ';
unsigned int GetNumberOfComponents() const {
unsigned int r = 0;
for(unsigned int i = 0; i < 5; ++i) {
if( *Component[i] != '\0' ) r = i;
}
return r+1;
}
unsigned int GetMaxLength() const { return MaxLength; }
void SetBlob(const std::vector<char>& v) {
(void)v;
//gdcm_assert(0); //TODO
}
void SetComponents(const char *comp1 = "",
const char *comp2 = "",
const char *comp3 = "",
const char *comp4 = "",
const char *comp5 = "") {
const char *components[5] = { comp1, comp2, comp3, comp4, comp5 };
SetComponents( components );
}
void SetComponents(const char *components[]) {
if( components )
for(unsigned int i = 0; i < 5; ++i) {
if( components[i] && strlen(components[i]) < GetMaxLength() )
strcpy(Component[i], components[i]);
gdcm_assert( strlen(Component[i]) < GetMaxLength() );
}
}
void Print(std::ostream &os) const
{
//os << "Family Name Complex: " << Component[0] << std::endl;
//os << "Given Name Complex: " << Component[1] << std::endl;
//os << "Middle Name : " << Component[2] << std::endl;
//os << "Name Suffix : " << Component[3] << std::endl;
//os << "Name Prefix : " << Component[4] << std::endl;
os << Component[0] << '^';
os << Component[1] << '^';
os << Component[2] << '^';
os << Component[3] << '^';
os << Component[4];
}
};
} // end namespace gdcm
#endif //GDCMPERSONNAME_H