mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +00:00
([TextCoder -decodeValueOfSimpleType:at:withName:]): Assert the data pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@607 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
70909b23de
commit
41ddf10f66
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
#include <objects/MemoryStream.h>
|
#include <objects/MemoryStream.h>
|
||||||
#include <objects/StdioStream.h>
|
#include <objects/StdioStream.h>
|
||||||
#include <objects/objc-malloc.h>
|
#include <objects/objc-malloc.h>
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
#define CONCRETE_FORMAT_VERSION 0
|
#define CONCRETE_FORMAT_VERSION 0
|
||||||
|
|
||||||
|
@ -133,6 +134,7 @@ if (debug_textcoder) \
|
||||||
{
|
{
|
||||||
char *tmpname;
|
char *tmpname;
|
||||||
|
|
||||||
|
assert (d);
|
||||||
switch (*type)
|
switch (*type)
|
||||||
{
|
{
|
||||||
case _C_LNG:
|
case _C_LNG:
|
||||||
|
|
Loading…
Reference in a new issue