Welsh offenders getting put behind bars to get a home
24 October 2013 Last updated at 20:17 BST
BBC Wales has been told how some people may be committing minor crimes in a bid to get "priority housing" when they are released from prison.
In Wales, all inmates are automatically put on a "priority housing" list if they are homeless when released - regardless of how long they spend behind bars.
Now the Welsh government's housing minister wants to change the law.
Jordan Davies reports.