mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 05:32:14 +00:00
check right pointer
This commit is contained in:
3
README
3
README
@@ -21,7 +21,8 @@ RELEASE NOTES
|
||||
v0.25
|
||||
- Correct J=Up K=Down in footer(Thanks PartialVolume)
|
||||
- Fix segfault initialize nwipe_gui_thread (Thanks PartialVolume)
|
||||
- Fix memory leaks (Thanks Partialvolume)
|
||||
- Fix memory leaks (Thanks PartialVolume)
|
||||
- Check right pointer (Thanks PartialVolume
|
||||
|
||||
v0.24
|
||||
- use include values for version 0.17
|
||||
|
||||
@@ -416,7 +416,7 @@ void *nwipe_ops2( void *ptr )
|
||||
/* Allocate the array of complement characters. */
|
||||
t = malloc( sizeof( char ) * u );
|
||||
|
||||
if( s == NULL )
|
||||
if( t == NULL )
|
||||
{
|
||||
nwipe_perror( errno, __FUNCTION__, "malloc" );
|
||||
nwipe_log( NWIPE_LOG_FATAL, "Unable to allocate the complement character array." );
|
||||
|
||||
Reference in New Issue
Block a user