This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
abc/abc-null-fprintf.patch
Jerry James 0eca8cf4f2 Update to latest git snapshot.
- Add -use-after-free, -null-fprintf, and -weaken-assert patches.
- Minor spec file cleanups.
2023-01-17 14:09:20 -07:00

11 lines
424 B
Diff

--- src/base/exor/exorUtil.c.orig 2022-10-19 06:05:56.000000000 -0600
+++ src/base/exor/exorUtil.c 2022-11-16 11:40:26.252322689 -0700
@@ -189,7 +189,7 @@ int WriteResultIntoFile( char * pFileNam
pFile = fopen( pFileName, "w" );
if ( pFile == NULL )
{
- fprintf( pFile, "\n\nCannot open the output file\n" );
+ fprintf( stderr, "\n\nCannot open the output file\n" );
return 1;
}