You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The rename() function has the following prototype:

int rename(const char *old, const char *new);

If the file pointed to by new exists prior to a call to rename(), the behavior is implementation-defined.

Non-Compliant Code Example

Error rendering macro 'code'

com.atlassian.renderer.v2.macro.basic.validator.MacroParameterValidationException: Color value is invalid

Compliant Solution

Error rendering macro 'code'

com.atlassian.renderer.v2.macro.basic.validator.MacroParameterValidationException: Color value is invalid

Note: There is a race condition inherent here!

Risk Analysis

References

  • No labels