mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 19:01:54 +00:00
[CMD] Add missing memory allocation NULL checks (#161). CORE-8304
Adapted from a patch by Jacob S. Preciado. Bring also the code suggestions emitted during review.
This commit is contained in:
parent
73798d2e71
commit
3f892a8d6b
16 changed files with 293 additions and 147 deletions
|
@ -214,12 +214,12 @@ INT cmd_goto (LPTSTR);
|
|||
/* Prototypes for HISTORY.C */
|
||||
#ifdef FEATURE_HISTORY
|
||||
LPCTSTR PeekHistory(INT);
|
||||
VOID History (INT, LPTSTR);/*add entries browse history*/
|
||||
VOID History(INT, LPTSTR);/*add entries browse history*/
|
||||
VOID History_move_to_bottom(VOID);/*F3*/
|
||||
VOID InitHistory(VOID);
|
||||
VOID CleanHistory(VOID);
|
||||
VOID History_del_current_entry(LPTSTR str);/*CTRL-D*/
|
||||
INT CommandHistory (LPTSTR param);
|
||||
INT CommandHistory(LPTSTR param);
|
||||
#endif
|
||||
|
||||
/* Prototypes for IF.C */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue