CVSROOT: /cvs Module name: src Changes by: [email protected] 2014/12/13 03:31:07
Modified files:
usr.bin/patch : patch.c pch.c util.c util.h
Log message:
The function savestr allows NULL return values during Plan A patching so in
case of out of memory conditions, Plan B can step in. In many cases, NULL
value is not properly handled, so use xstrdup here (it's outside Plan A/B
patching, which means that even Plan B relies on successful operations).
