I'm not sure why this code allocates this string for the error message.
I think it would be better to always use snprintf and have the format limit the size of the name appropriately (like %.200s). Klocwork #340
Showing
Please register or sign in to comment