Skip to content

Memwatch tempnam call issue #139

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?


#include <stdio.h>
#include <stdlib.h>

char *directory = "/tmp";
char *fileprefix = "file";
char *file;


file = tempnam(directory, fileprefix);
free(file);

What is the expected output? What do you see instead?
this generates a unknown pointer 0x350fa0 in memwatch
According to 
http://pubs.opengroup.org/onlinepubs/009695399/functions/tempnam.html, this 
memory is supposed to be freed

What version of the product are you using? On what operating system?
2.71 on arm9

Please provide any additional information below.


Original issue reported on code.google.com by twat...@gmail.com on 24 Oct 2014 at 5:38

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions