-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed poss. NULL pointer dereference/double free.
Thanks to Jinsheng Ba <[email protected]> for the report and some patches.
- Loading branch information
1 parent
92da003
commit a9697df
Showing
13 changed files
with
201 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* | ||
* Copyright (C) 2021, OFFIS e.V. | ||
* All rights reserved. See COPYRIGHT file for details. | ||
* | ||
* This software and supporting documentation were partly developed by | ||
* | ||
* OFFIS e.V. | ||
* R&D Division Health | ||
* Escherweg 2 | ||
* D-26121 Oldenburg, Germany | ||
* | ||
* | ||
* Module: dcmnet | ||
* | ||
* Author: Michael Onken | ||
* | ||
* Purpose: Collection of helper functions | ||
* | ||
*/ | ||
|
||
#ifndef DCMHET_HELPERS_H | ||
#define DCMHET_HELPERS_H | ||
|
||
#include "dcmtk/ofstd/ofcond.h" | ||
#include "dcmtk/dcmnet/dulstruc.h" | ||
|
||
struct T_ASC_Parameters; | ||
class LST_HEAD; | ||
|
||
|
||
void | ||
destroyPresentationContextList(LST_HEAD ** l); | ||
|
||
void | ||
destroyUserInformationLists(DUL_USERINFO * userInfo); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ DCMTK_ADD_LIBRARY(dcmnet | |
dulpres.cc | ||
dwrap.c | ||
extneg.cc | ||
helpers.cc | ||
lst.cc | ||
scp.cc | ||
scpcfg.cc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.